[git commit 0_9_30] fix "make utils" build failure in ldconfig (undefined reference to 'getopt')

Denis Vlasenko vda.linux at googlemail.com
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=a1272994dda44b82992376868fcff439662b2aa9
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/unistd/getopt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c
index ac005e4..2b68ff8 100644
--- a/libc/unistd/getopt.c
+++ b/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,
-- 
1.6.3.3



More information about the uClibc-cvs mailing list