summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-18 16:31:41 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-18 16:31:41 +0300
commitadeca93bfce71a56c973e4fe64469f27cb1bfab2 (patch)
tree710d9fdd9259895279b20913f1d97e9c911f1b07
parent3507168c9333f5c87110af016ec568f637285292 (diff)
downloadillumos-packaging-adeca93bfce71a56c973e4fe64469f27cb1bfab2.tar.gz
libc: make sure localedef can find proper libs
It *may* use some new functions/symbols fron just-built libraries.
-rwxr-xr-xlibc/debian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/debian/rules b/libc/debian/rules
index 1f394b2..c5ff891 100755
--- a/libc/debian/rules
+++ b/libc/debian/rules
@@ -264,7 +264,8 @@ override_dh_install: debian/LC_DATA.gz debian/locales.config
dh_install
find debian/locales/usr/share/i18n/locales -name *.UTF-8.src | \
xargs sed -i '/^LC_CTYPE/,/^END LC_CTYPE/d'
- ./debian/generate-locales-all
+ LD_LIBRARY_PATH=debian/tmp/lib/$(DEB_HOST_MULTIARCH):debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) \
+ ./debian/generate-locales-all
override_dh_installman:
# language=C because of ld.so.1.1