[PATCH] the first libtool pill ...

Enrico Weigelt weigelt at metux.de
Mon Jun 6 13:19:46 PDT 2005


Hi folks! 


I've got it fixed for now.
Its general problem in libtool.



cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service
  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
---------------------------------------------------------------------
  Realtime Forex/Stock Exchange trading powered by postgresSQL :))
                                            http://www.fxignal.net/
---------------------------------------------------------------------
-------------- next part --------------
diff -ruN Xpm.orig/ltmain.sh Xpm/ltmain.sh
--- Xpm.orig/ltmain.sh	Mon Jun  6 19:20:33 2005
+++ Xpm/ltmain.sh	Mon Jun  6 21:48:39 2005
@@ -2016,6 +2016,8 @@
 	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
 	    tmp_libs=
 	    for deplib in $dependency_libs; do
+	      deplib=`echo "$deplib" | sed -e "s~^/usr/lib/~$SYSROOT/usr/lib/~g;"`
+              echo "==> DEPLIB=$deplib"
 	      deplibs="$deplib $deplibs"
               if test "X$duplicate_deps" = "Xyes" ; then
 	        case "$tmp_libs " in
diff -ruN Xpm.orig/ltmain.sh Xpm/ltmain.sh
--- Xpm.orig/ltmain.sh	Mon Jun  6 19:20:33 2005
+++ Xpm/ltmain.sh	Mon Jun  6 21:48:39 2005
@@ -2137,6 +2139,8 @@
 
 	  tmp_libs=
 	  for deplib in $dependency_libs; do
+	    deplib=`echo "$deplib" | sed -e "s~^/usr/lib/~$SYSROOT/usr/lib/~g;"`
+	    echo "DEPLIB2=$deplib"
 	    case $deplib in
 	    -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
 	    esac
diff -ruN Xpm.orig/ltmain.sh Xpm/ltmain.sh
--- Xpm.orig/ltmain.sh	Mon Jun  6 19:20:33 2005
+++ Xpm/ltmain.sh	Mon Jun  6 21:48:39 2005
@@ -2497,6 +2501,8 @@
 	    # Extract -R from dependency_libs
 	    temp_deplibs=
 	    for libdir in $dependency_libs; do
+             libdir=`echo "$libdir" | sed -e "s~^/usr/*lib/*~$SYSROOT/usr/lib/~g;"`
+	      echo "LIBDIR2=$libdir"
 	      case $libdir in
 	      -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
 		   case " $xrpath " in


More information about the xorg-modular mailing list