Explorar o código

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

Denis Vlasenko %!s(int64=15) %!d(string=hai) anos
pai
achega
04b163798f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,