libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preloading without .la


From: Pierre Ossman
Subject: Re: Preloading without .la
Date: Tue, 03 Jan 2006 17:52:54 +0100
User-agent: Mozilla Thunderbird 1.0.7-2.1.fc4.nr (X11/20051011)

Pierre Ossman wrote:

 * Use the dynamic prefix for the name embedded in the preload module.
   I.e. do a 'sed s/$(STATIC_EXT)\$/$(SHLIB_EXT)/' on the name as it is
   being embedded. Not sure what the obstacles are here. Perhaps some
   problem with breaking existing hacks.


And this would be the patch in the second case.

--
Pierre Ossman                Telephone: +46-13-21 46 00
Cendio AB                    Web: http://www.cendio.com
--- ltmain.sh   Tue Jan  3 17:51:26 2006
+++ /usr/local/share/libtool/ltmain.sh  Mon Dec 19 14:18:24 2005
@@ -4391,7 +4391,7 @@
 
          for arg in $dlprefiles; do
            $show "extracting global C symbols from \`$arg'"
-           name=`$echo "$arg" | ${SED} -e 's%^.*/%%' | ${SED} -e 
's%[.][^.]*$%%'`$shrext_cmds
+           name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
            $run eval '$echo ": $name " >> "$nlist"'
            $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
          done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]