diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | dh_illumos_gate | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 21fc10f..18fa8c5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dh-illumos (9.5.10) unstable; urgency=medium + + * dh_illumos_gate: use -L instead of -YP in LDLIBS32 and LDLIBS64, so that + proper libraries are used (from debian/tmp) + + -- Igor Pashev <pashev.igor@gmail.com> Sat, 15 Mar 2014 22:57:59 +0400 + dh-illumos (9.5.9) unstable; urgency=medium * dh_illumos_gate: 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`; |