diff options
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-x | dh_illumos_gate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate index 01e202b..a601bf1 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -200,6 +200,9 @@ if (open (ENV, '>', $env)) { print ENV "export ROOTLIBDIR=\"\$ROOT/usr/lib32\"\n"; print ENV "export ROOTLIBDIR64=\"\$ROOT/usr/lib/$multiarch64\"\n"; print ENV "export LEX='/usr/bin/flex -l'\n"; + print ENV "export LDLIBS32=\"-L\$ROOTFS_LIBDIR -L\$ROOTLIBDIR\"\n"; + print ENV "export LDLIBS64=\"-L\$ROOTFS_LIBDIR64 -L\$ROOTLIBDIR64\"\n"; + close(ENV); } else { error("Failed to write `$env': $!"); |