浏览代码

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

Denis Vlasenko 15 年之前
父节点
当前提交
04b163798f
共有 1 个文件被更改,包括 1 次插入0 次删除
  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,