summaryrefslogtreecommitdiff
path: root/solenv/bin/rpm-wrapper
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2009-03-24 09:24:31 +0000
committerVladimir Glazounov <vg@openoffice.org>2009-03-24 09:24:31 +0000
commit0408d3a190ec741ce0565f3a9d12985d95d08edd (patch)
tree7f7550fd72c6dca9f996ebcace5d0cf9c4ea6802 /solenv/bin/rpm-wrapper
parent03548f0f6545434567248b9ab818f7b5cb5879e6 (diff)
#100000# set LD_LIBRARY_PATH for rmpbuild
Diffstat (limited to 'solenv/bin/rpm-wrapper')
-rwxr-xr-xsolenv/bin/rpm-wrapper6
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/bin/rpm-wrapper b/solenv/bin/rpm-wrapper
index 7b0f8767ad5b..1b523bb9b130 100755
--- a/solenv/bin/rpm-wrapper
+++ b/solenv/bin/rpm-wrapper
@@ -35,5 +35,11 @@
# picking up the ld-linux.so.2 from there:
set -e
+if [ "$OUTPATH" = "unxlngi6" ]
+then
+LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${LIBRARY_PATH?} \
+ ${BUILD_TOOLS?}/rpmbuild "$@"
+else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${COMPATH?}/lib \
${BUILD_TOOLS?}/rpm "$@"
+fi