summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index b6fcbdb..c604a3d 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -229,6 +229,7 @@ if (open (ENV, '>', $env)) {
print ENV "export STRIP=':'\n";
print ENV "export LDLIBS32=\"-YP,\$ROOT/$libdir:\$ROOT/$usrlibdir\"\n";
print ENV "export LDLIBS64=\"-YP,\$ROOT/$libdir64:\$ROOT/$usrlibdir64\"\n";
+ print ENV 'export LDLIBS_NATIVE="', ($bits == 64) ? '$LDLIBS64' : '$LDLIBS32', "\"\n";
close(ENV);
} else {