You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnome-commander/gnome-commander-1.2.8-trunk...

15 lines
873 B

--- gnome-commander-1.2.8-svn2330_trunk/configure.in.debug 2008-11-15 02:31:22.000000000 +0900
+++ gnome-commander-1.2.8-svn2330_trunk/configure.in 2008-12-04 04:00:43.000000000 +0900
@@ -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