From: Ryan Schmidt Date: Mon, 3 Dec 2018 18:10:41 +0000 (-0600) Subject: perl-module: Use unquoted perl config ld value X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9009906e3a6dd95f35b97331abf68491f27bf148;p=pspp perl-module: Use unquoted perl config ld value Fixes build failure when the perl config ld value contains multiple words, such as on PowerPC Mac OS X where it may be a value like 'env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.2'. --- diff --git a/perl-module/automake.mk b/perl-module/automake.mk index b995d036df..4f45a65595 100644 --- a/perl-module/automake.mk +++ b/perl-module/automake.mk @@ -44,7 +44,7 @@ perl-module/pspp-module-config: Makefile perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config $(module_sources) $(AM_V_GEN)cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix) \ OPTIMIZE="$(CFLAGS) $(CPPFLAGS)" \ - LD="`$(PERL) -V::ld:` $(LDFLAGS)" + LD="`$(PERL) -e 'use Config::Perl::V;print Config::Perl::V::myconfig()->{config}{ld};'` $(LDFLAGS)" perl-module/PSPP-Perl-$(VERSION_FOR_PERL).tar.gz: $(module_sources) perl-module/Makefile $(AM_V_at)rm -f $@