SOURCES: gedit2-libtool.patch (NEW) - fix build with libtool 2.2.x

Jakub Bogusz qboosh at pld-linux.org
Wed May 28 17:50:19 CEST 2008


On Wed, May 28, 2008 at 05:12:53PM +0200, megabajt wrote:
> Author: megabajt                     Date: Wed May 28 15:12:52 2008 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - fix build with libtool 2.2.x

> +-	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 -no-undefined $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
> ++	if /bin/sh /usr/bin/libtool --tag=CC --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
> ++		/bin/sh /usr/bin/libtool --tag=CC --mode=link ${CC} -o testpython.la -rpath `pwd` -module -avoid-version -no-undefined $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
> + 		grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
> + 		result=yes
> + 	else

Use LT_OUTPUT to get local libtool earlier (see glib2-lt.patch).


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list