Add -lgcc_s for --as-needed check.
authordrepper <drepper>
Sat, 17 Apr 2004 22:39:07 +0000 (22:39 +0000)
committerdrepper <drepper>
Sat, 17 Apr 2004 22:39:07 +0000 (22:39 +0000)
configure.in

index 1f03854..082aa1a 100644 (file)
@@ -1321,7 +1321,7 @@ EOF
 int main (void) { return 0; }
 EOF
   if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-                             -shared -o conftest.so conftest.c
+                             -shared -o conftest.so conftest.c -lgcc_s
                              -Wl,--as-needed -nostdlib 1>&AS_MESSAGE_LOG_FD])
   then
     libc_cv_as_needed=yes