summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_illumos_gate3
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index fec4dc7..01e202b 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -177,7 +177,6 @@ my $mach = `uname -p`; chomp $mach;
# XXX Only illumos-amd64 is supported now XXX
my $multiarch64 = `dpkg-architecture -aillumos-amd64 -qDEB_HOST_MULTIARCH`;
#my $multiarch32 = `dpkg-architecture -aillumos-i386 -qDEB_HOST_MULTIARCH`;
-chomp $multiarch32;
chomp $multiarch64;
if (open (ENV, '>', $env)) {
print ENV "# This file was generated by dh_illumos_gate(1)\n";
@@ -196,7 +195,7 @@ if (open (ENV, '>', $env)) {
print ENV "export __GNUC4=''\n";
print ENV "export GCC_ROOT='/usr'\n";
print ENV "export i386_XARCH='-m32'\n";
- print ENV "export ROOTFS_LIBDIR=\"\$ROOT/usr/lib32\"\n";
+ print ENV "export ROOTFS_LIBDIR=\"\$ROOT/lib32\"\n";
print ENV "export ROOTFS_LIBDIR64=\"\$ROOT/lib/$multiarch64\"\n";
print ENV "export ROOTLIBDIR=\"\$ROOT/usr/lib32\"\n";
print ENV "export ROOTLIBDIR64=\"\$ROOT/usr/lib/$multiarch64\"\n";