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

Jan Steffens heftig at archlinux.org
Sun Dec 6 23:58:06 UTC 2015


    Date: Monday, December 7, 2015 @ 00:58:05
  Author: heftig
Revision: 149390

Fix -lpthread-lQtOpenGL error

Modified:
  ams/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-06 23:56:22 UTC (rev 149389)
+++ PKGBUILD	2015-12-06 23:58:05 UTC (rev 149390)
@@ -34,6 +34,11 @@
 
   # strip unwanted optimization flags
   sed -i '/AMS_OPT_CXXFLAGS=/d' configure
+
+  # fix libs concat
+  sed -e 's/LIBS+=\$LIBSsave/LIBS="$LIBS $LIBSsave"/' \
+      -e 's/CFLAGS+=\$CFLAGSsave/CFLAGS="$CFLAGS $CFLAGSsave"/' \
+      -i configure
 }
 
 build() {



More information about the arch-commits mailing list