Create reloadable object files with non-pic objects too.

* libltdl/config/ltmain.m4sh: When not building a shared
library, use the non-pic objects to create a reloadable
object, because pic objects do not exist.
This commit is contained in:
Peter O'Gorman 2010-06-10 22:00:47 -05:00
parent 8e31ea01ad
commit f5e292a4ee
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-06-10 Peter O'Gorman <peter@pogma.com>
Create reloadable object files with non-pic objects too.
* libltdl/config/ltmain.m4sh: When not building a shared
library, use the non-pic objects to create a reloadable
object, because pic objects do not exist.
2010-06-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ensure libltdl is up to date for check-local.

View File

@ -7180,6 +7180,9 @@ EOF
fi
fi
# If we're not building shared, we need to use non_pic_objs
test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
# Create the old-style object.
reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test