summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-03-15 22:58:10 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-03-15 22:58:10 +0400
commit2ccf76885ebca7dc60a3d9d205dc67ee3b94c332 (patch)
tree89b8bfa4dddcc29356c22788e2b9a30f1988df26 /dh_illumos_gate
parent1ecc04c0bbee03b1cae8e3a1facc56dd375c9adf (diff)
downloaddh-illumos-9.5.10.tar.gz
dh-illumos (9.5.10) unstable; urgency=mediumv9.5.10
* dh_illumos_gate: use -L instead of -YP in LDLIBS32 and LDLIBS64, so that proper libraries are used (from debian/tmp)
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index 5878cbd..12d15e2 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -372,8 +372,8 @@ if ( -d 'usr' && ! -f 'usr/env.sh') {
print ENV "export DEB_USRLIBDIR_32='/$usrlibdir32'\n";
print ENV "export DEB_LIBDIR_64='/$libdir64'\n";
print ENV "export DEB_USRLIBDIR_64='/$usrlibdir64'\n";
- print ENV "export LDLIBS32=\"-YP,\$ROOT/\$DEB_LIBDIR_32:\$ROOT/\$DEB_USRLIBDIR_32\"\n";
- print ENV "export LDLIBS64=\"-YP,\$ROOT/\$DEB_LIBDIR_64:\$ROOT/\$DEB_USRLIBDIR_64\"\n";
+ print ENV "export LDLIBS32=\"-L\$ROOT/\$DEB_LIBDIR_32 -L\$ROOT/\$DEB_USRLIBDIR_32\"\n";
+ print ENV "export LDLIBS64=\"-L\$ROOT/\$DEB_LIBDIR_64 -L\$ROOT/\$DEB_USRLIBDIR_64\"\n";
print ENV 'export LDLIBS_NATIVE="', ($bits == 64) ? '$LDLIBS64' : '$LDLIBS32', "\"\n";
print ENV `dpkg-architecture -s`;