mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 23:33:32 +08:00
a4a1dc7b8b
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>
24 lines
701 B
Makefile
24 lines
701 B
Makefile
################################################################################
|
|
#
|
|
# perl-gd
|
|
#
|
|
################################################################################
|
|
|
|
PERL_GD_VERSION = 2.53
|
|
PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
|
|
PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
|
|
PERL_GD_DEPENDENCIES = perl zlib libpng freetype gd
|
|
PERL_GD_LICENSE = Artistic-2.0 or GPLv1+
|
|
PERL_GD_LICENSE_FILES = LICENSE
|
|
|
|
PERL_GD_CONF_OPTS = \
|
|
-options=FT,PNG \
|
|
-lib_gd_path=$(STAGING_DIR)/usr \
|
|
-lib_ft_path=$(STAGING_DIR)/usr \
|
|
-lib_png_path=$(STAGING_DIR)/usr \
|
|
-lib_zlib_path=$(STAGING_DIR)/usr \
|
|
-ignore_missing_gd \
|
|
-gdlib=$(STAGING_DIR)/usr/bin/gdlib-config
|
|
|
|
$(eval $(perl-package))
|