summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_illumos_make7
1 files changed, 5 insertions, 2 deletions
diff --git a/dh_illumos_make b/dh_illumos_make
index ff7896d..f1d36a0 100755
--- a/dh_illumos_make
+++ b/dh_illumos_make
@@ -146,10 +146,13 @@ $env .= ' CTFMERGE=:' if $dh{'WITHOUT_CTF'};
if ($dh{'NATIVE'}) {
$env .= ' i386_XARCH=';
- $env .= ' LDLIBS32="$LDLIBS_NATIVE"';
+ $env .= ' LDLIBS32="\$LDLIBS_NATIVE"';
}
+
+$env = "export $env &&" if $env;
+
foreach (@dirs) {
- complex_doit(qq!cd illumos-gate && ksh93 bldenv.sh $opts env.sh -c "cd $_ && env $env $dh{'MAKE'} $dh{'TARGET'}"!);
+ complex_doit(qq!cd illumos-gate && ksh93 bldenv.sh $opts env.sh -c "cd $_ && $env $dh{'MAKE'} $dh{'TARGET'}"!);
}
=head1 SEE ALSO