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

Juergen Hoetzel juergen at archlinux.org
Thu Jan 7 23:37:09 UTC 2010


    Date: Thursday, January 7, 2010 @ 18:37:08
  Author: juergen
Revision: 62394

fix missing libs (libdl) when using makepkg.conf provided LDFLAGS

Modified:
  sbcl/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-07 22:50:36 UTC (rev 62393)
+++ PKGBUILD	2010-01-07 23:37:08 UTC (rev 62394)
@@ -22,6 +22,10 @@
 build() {
   export CFLAGS="${CFLAGS} -DSBCL_HOME=\\\"/usr/lib/sbcl\\\""
   export GNUMAKE="make -e"
+
+  # build system uses LINKFLAGS and OS_LIBS to build LDFLAGS
+  export LINKFLAGS="$LD_FLAGS" 
+  unset LDFLAGS
   cd ${startdir}/src/${pkgname}-${pkgver}
   # Make a multi-threaded SBCL, disable LARGEFILE  
   cat >customize-target-features.lisp <<EOF




More information about the arch-commits mailing list