]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (convenience, libobjs): get only .o and .lo files from
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 11 Jan 1999 06:27:08 +0000 (06:27 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 11 Jan 1999 06:27:08 +0000 (06:27 +0000)
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

ChangeLog
ltmain.in

index 548968a257698816ea462c0d44ced56d19d81b61..e214829f9c0103b214a20fafb73eb8dfd7a43599 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1999-01-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * 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
 
index 00ed8baa0018d7d25a6ad3f8137de653a86ed7b6..7c91bad93d886f62cce76ae335ee8a6a3789a199 100644 (file)
--- 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