From 956d9ef2b0db4e9ad08ca06d081318260ced05de Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Mon, 23 Nov 2015 17:14:39 +0100 Subject: tools/build: pass extra arguments to rakudo only when necessary Don't pass unspecified configure parameters (namely --sdkroot and --sysroot) to avoid configure errors in rakudo. Signed-off-by: Jens Rehsack --- Configure.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Configure.pl') diff --git a/Configure.pl b/Configure.pl index 889da70..f2a7047 100644 --- a/Configure.pl +++ b/Configure.pl @@ -151,6 +151,9 @@ MAIN: { $config{prefix} = $prefix; $config{sdkroot} = $options{sdkroot}; $config{sysroot} = $options{sysroot}; + $config{pass_rakudo_config} = ""; + $config{pass_rakudo_config} .= $options{sdkroot} ? " --sdkroot=\"\$(SDKROOT_DIR)\"" : ""; + $config{pass_rakudo_config} .= $options{sysroot} ? " --sysroot=\"\$(SYSROOT_DIR)\"" : ""; $config{slash} = $slash; $config{'makefile-timing'} = $options{'makefile-timing'}; $config{'stagestats'} = '--stagestats' if $options{'makefile-timing'}; -- cgit v1.1