On 12/05/2010 09:34 PM, Ralf Wildenhues wrote:

Does this patch fix things for you?  As far as I see, you should be
getting -fPIC passed instead of -fno-common, so it's not completely
clear that this is right, or what other changes MacPorts has done to
their glibtool code over upstream Libtool.  Please also send 'glibtool
--config' output.

OK to apply?

Unless Pawel reports that it works for him, no. This doesn't make sense to me.

MacPorts doesn't appear to have patched their libtool at all:
http://trac.macports.org/browser/trunk/dports/devel/libtool/Portfile

Peter

        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
+      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler 
$_LT_TAGVAR(lt_prog_compiler_pic, $1)"
+      fi



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to