summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-07-22 22:18:46 +0000
committerIgor Pashev <pashev.igor@gmail.com>2012-07-22 22:18:46 +0000
commitc9501d8310e3c40ed35c7b70660e797fff59eac0 (patch)
tree19c7afa3515bef9d3a4e953091f6f7e301c5c691
parent047f9f545df088829e06065f934346b1c311e8e5 (diff)
downloaddh-illumos-c9501d8310e3c40ed35c7b70660e797fff59eac0.tar.gz
ROOTFS_LIBDIR != ROOTLIBDIR
-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";