gd: use LDFLAGS (fixes QA error)
authorJeremy Lainé <jeremy.laine@m4x.org>
Mon, 6 Apr 2009 12:50:11 +0000 (12:50 +0000)
committerJeremy Lainé <jeremy.laine@m4x.org>
Mon, 6 Apr 2009 12:50:11 +0000 (12:50 +0000)
recipes/gd/gd_2.0.33.bb

index 7c1f7c3..7e47b08 100644 (file)
@@ -2,7 +2,7 @@ SECTION = "libs"
 LICENSE = "GD"
 DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images."
 DEPENDS = "libpng jpeg zlib"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz"
 S = "${WORKDIR}/gd-${PV}"
@@ -17,7 +17,7 @@ EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
                   --without-xpm \
                   --without-x"
 
-EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}"
+EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
 
 headers = "gd.h gdcache.h gd_io.h gdfx.h gdfontmb.h \
           gdfontg.h gdfontl.h gdfonts.h gdfontt.h"