[arch-commits] Commit in ktorrent/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Jun 1 16:35:59 UTC 2009


    Date: Monday, June 1, 2009 @ 12:35:59
  Author: pierre
Revision: 40978

skip rpath and avoid unneeded linking

Modified:
  ktorrent/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-01 15:55:20 UTC (rev 40977)
+++ PKGBUILD	2009-06-01 16:35:59 UTC (rev 40978)
@@ -28,7 +28,9 @@
 	patch -Np0 -i ${srcdir}/httpserver.patch || return 1
 
 	cmake .	-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr 
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
 	make || return 1
 	make DESTDIR=${pkgdir} install 
 }




More information about the arch-commits mailing list