aboutsummaryrefslogtreecommitdiff
path: root/package/perl-gd/perl-gd.mk
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@openwide.fr>2014-12-21 00:51:00 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-24 12:12:09 +0100
commita4a1dc7b8b5acb21236cf3f3d2e33f5d380f1336 (patch)
tree8dc4e99253e9c89bedfcd36007a0e892ce319b70 /package/perl-gd/perl-gd.mk
parentfdca0dda1d7f91d2af0467f04c812af944a86cb7 (diff)
downloadbuildroot-a4a1dc7b8b5acb21236cf3f3d2e33f5d380f1336.tar.gz
buildroot-a4a1dc7b8b5acb21236cf3f3d2e33f5d380f1336.tar.bz2
package/perl-gd: Add a new option to set the path to gdlib-config
The build of perl-gd use the gdlib-config from the host that in result incorect features enabled, incorrect header and library paths. Should fixes: http://autobuild.buildroot.net/results/15c/15ce69b916167305aba2820a157c880e487ee8c7/ http://autobuild.buildroot.net/results/504/504d64d992eb504e02c127feb4734a917ad95d0a/ http://autobuild.buildroot.net/results/551/5512213c8861e51b390c1c223d53add0ec1ed758/ And many more. Note: In the generated Makefile, LDFLAGS still contains "-L/usr/local/lib" Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-gd/perl-gd.mk')
-rw-r--r--package/perl-gd/perl-gd.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
index 6df0e10283..843687bacd 100644
--- a/package/perl-gd/perl-gd.mk
+++ b/package/perl-gd/perl-gd.mk
@@ -17,6 +17,7 @@ PERL_GD_CONF_OPTS = \
-lib_ft_path=$(STAGING_DIR)/usr \
-lib_png_path=$(STAGING_DIR)/usr \
-lib_zlib_path=$(STAGING_DIR)/usr \
- -ignore_missing_gd
+ -ignore_missing_gd \
+ -gdlib=$(STAGING_DIR)/usr/bin/gdlib-config
$(eval $(perl-package))