From: Alexandre Oliva Date: Mon, 11 Jan 1999 06:27:08 +0000 (+0000) Subject: * ltmain.in (convenience, libobjs): get only .o and .lo files from X-Git-Tag: automake_1-4~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ef9f4a1f636f16274b11e94631a0c69da48144;p=thirdparty%2Flibtool.git * ltmain.in (convenience, libobjs): get only .o and .lo files from the files extract from the convenience library. Some systems, such as FreeBSD2, will add a SYMDEF file, that is not an object file, and therefore should not be fed to the linker --- diff --git a/ChangeLog b/ChangeLog index 548968a25..e214829f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-01-11 Alexandre Oliva + * ltmain.in (convenience, libobjs): get only .o and .lo files from + the files extract from the convenience library. Some systems, + such as FreeBSD2, will add a SYMDEF file, that is not an object + file, and therefore should not be fed to the linker + * libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well cache the value of ac_cv_sys_symbol_underscore diff --git a/ltmain.in b/ltmain.in index 00ed8baa0..7c91bad93 100644 --- a/ltmain.in +++ b/ltmain.in @@ -1642,7 +1642,7 @@ EOF $show "(cd $xdir && $AR x ../$xlib)" $run eval "(cd \$xdir && $AR x ../\$xlib)" || exit $? - libobjs="$libobjs `echo $xdir/*`" + libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` done fi