[arch-commits] Commit in imlib/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Tue Aug 2 18:15:21 UTC 2011
Date: Tuesday, August 2, 2011 @ 14:15:21
Author: jgc
Revision: 134264
upgpkg: imlib 1.9.15-10
Fix shared library installation by copying libtool from the system
Apply the same hack from gtk2/gtk3 to fix library linking
Modified:
imlib/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-02 17:43:26 UTC (rev 134263)
+++ PKGBUILD 2011-08-02 18:15:21 UTC (rev 134264)
@@ -28,8 +28,11 @@
patch -Np0 -i "${srcdir}/aclocal-fixes.patch"
patch -Np1 -i "${srcdir}/libpng14.patch"
sed '/AC_PATH_XTRA/d' -i configure.in
+ libtoolize --force
+ cp /usr/bin/libtool .
autoreconf --force --install
- ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list