diff options
Diffstat (limited to 'dh_illumos_make')
-rwxr-xr-x | dh_illumos_make | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dh_illumos_make b/dh_illumos_make index c2290b3..3e1fce4 100755 --- a/dh_illumos_make +++ b/dh_illumos_make @@ -135,9 +135,11 @@ $override .= ' CTFMERGE=:' if $dh{'WITHOUT_CTF'}; if ($dh{'NATIVE'}) { my $deb_host_arch_cpu = `dpkg-architecture -qDEB_HOST_ARCH_CPU`; + chomp $deb_host_arch_cpu; $override .= ' i386_XARCH='; - $override .= " LDLIBS32='\$(LDLIBS_NATIVE)'"; - $override .= " MAPFILE.NGB='\$(MAPFILE.NGB_$deb_host_arch_cpu)'"; + # We need to propogate it through perl and shell to make: + $override .= " LDLIBS32='\\\$(LDLIBS_NATIVE)'"; + $override .= " MAPFILE.NGB='\\\$(MAPFILE.NGB_$deb_host_arch_cpu)'"; } foreach (@dirs) { |