]> git.pld-linux.org Git - packages/gedit.git/blame - gedit2-libtool.patch
- fix build with libtool 2.2.x
[packages/gedit.git] / gedit2-libtool.patch
CommitLineData
367bb007
MB
1diff -urN gedit-2.22.3/configure.ac gedit-2.22.3.new/configure.ac
2--- gedit-2.22.3/configure.ac 2008-05-27 14:05:34.000000000 +0200
3+++ gedit-2.22.3.new/configure.ac 2008-05-28 16:27:21.000000000 +0200
4@@ -232,8 +232,8 @@
5 }
6 EOF
7
8- if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
9- /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 && \
10+ if /bin/sh /usr/bin/libtool --tag=CC --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c >/dev/null 2>&1 && \
11+ /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 && \
12 grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
13 result=yes
14 else
This page took 0.030161 seconds and 4 git commands to generate.