diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-08-18 01:05:16 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-08-18 01:05:16 +0000 |
commit | 4f6ff761e191972002047d8e0320273b669df148 (patch) | |
tree | a5f6d6f9e0745a090fcc2b5745da25dc9da8abbe | |
parent | c9501d8310e3c40ed35c7b70660e797fff59eac0 (diff) | |
download | dh-illumos-4f6ff761e191972002047d8e0320273b669df148.tar.gz |
Set LDLIBS32 and LDLIBS64 in env.sh
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | dh_illumos_gate | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index a3fcb25..f2a7b2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dh-illumos (7) UNRELEASED; urgency=low + + * Perl syntax error + * Set LDLIBS32 and LDLIBS64 in env.sh to use libraries from debian/tmp + + -- Igor Pashev <pashev.igor@gmail.com> Sat, 18 Aug 2012 01:03:49 +0000 + dh-illumos (6) unstable; urgency=low * Do not set i386_AS_XARCH: aw does not support it and sets 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': $!"); |