From 109ac2c3830616d1fda7be89193ddf3d8b2bca9e Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Sat, 2 May 2015 16:08:00 +0200 Subject: [PATCH] perl: Enable threading in host-perl as well if threading is selected While host-perl only exists to run build scripts(and thus, should have no influence on built packages at all), most packages depend heavily on the feature set of the perl installation that ran their configuration scripts. This change makes them see that threading support is enabled(if it actually is selected). We can't use configuration symbol overrides for this one, as they are visible to host-perl as well. Using overrides would make it act as if it had threading support enabled without actually having it. Signed-off-by: Marcel Denia --- lang/perl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/perl/Makefile b/lang/perl/Makefile index abd327f62..0365ffcff 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -94,7 +94,7 @@ endef # Static host perl define Host/Configure - ( cd $(HOST_BUILD_DIR); ./Configure -der -Uusedl -Duserelocatableinc -Dprefix=$(HOST_PERL_PREFIX) ) + ( cd $(HOST_BUILD_DIR); ./Configure -der -Uusedl -Duserelocatableinc -Dprefix=$(HOST_PERL_PREFIX) $(if $(CONFIG_PERL_THREADS),-Dusethreads,)) endef define Host/Install