Browse Source

fix "make utils" build failure in ldconfig
(undefined reference to 'getopt')

Denis Vlasenko 15 years ago
parent
commit
04b163798f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/unistd/getopt.c

+ 1 - 0
libc/unistd/getopt.c

@@ -1180,6 +1180,7 @@ getopt (int argc, char *const *argv, const char *optstring)
 			   (int *) 0,
 			   0);
 }
+libc_hidden_def(getopt)
 
 int
 getopt_long (int argc, char *const *argv, const char *options,