gnome-commander r2332 - branches/gcmd-1-3



Author: epiotr
Date: Sat Dec  6 12:17:45 2008
New Revision: 2332
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2332&view=rev

Log:
Build fix for libtool-2.2

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/configure.in

Modified: branches/gcmd-1-3/configure.in
==============================================================================
--- branches/gcmd-1-3/configure.in	(original)
+++ branches/gcmd-1-3/configure.in	Sat Dec  6 12:17:45 2008
@@ -299,9 +299,8 @@
 }
 EOF
 
-    if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
-        /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath `pwd` -module -avoid-version $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
-        grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
+    if ${CC} $PYTHON_CFLAGS $PYTHON_LIBS $PYTHON_EXTRA_LIBS -fPIC -shared -o testpython.so testpython.c -Wl,-soname,testpython.so >/dev/null 2>&1 && \
+        ( objdump --headers --private-headers testpython.so | grep 'testpython' ) >/dev/null 2>&1; then
         result=yes
     else
         result=no



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