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

Dave Reisner dreisner at archlinux.org
Sun Dec 4 03:16:16 UTC 2011


    Date: Saturday, December 3, 2011 @ 22:16:16
  Author: dreisner
Revision: 144108

Add explicit linkage against -lattr for binutils 2.22

Modified:
  shadow/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-04 02:41:48 UTC (rev 144107)
+++ PKGBUILD	2011-12-04 03:16:16 UTC (rev 144108)
@@ -45,7 +45,10 @@
 build() {
   cd "$srcdir/$pkgname-4.1.4.2+svn3283"
 
-  #Ugh, force this to build shared libraries, for god's sake
+  # fix linking issues with binutils 2.22
+  sed -i '/^user\(mod\|add\)_LDADD/s|$| -lattr|' src/Makefile.am
+
+  # Ugh, force this to build shared libraries, for god's sake
   sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am
   libtoolize
   autoreconf




More information about the arch-commits mailing list