summaryrefslogtreecommitdiffstats
path: root/compat32-tools
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-05-02 12:44:52 +0000
committer Eric Hameleers <alien@slackware.com>2015-05-02 12:44:52 +0000
commit85ac051c42326b497fb07d465f896961a044e31f (patch)
tree1594f1504fd2748f6563820b9c47e92eee330549 /compat32-tools
parentd8ffebef62a7833ec65e21764fead4d1f9aa22b1 (diff)
downloadmultilib-85ac051c42326b497fb07d465f896961a044e31f.tar.gz
multilib-85ac051c42326b497fb07d465f896961a044e31f.tar.xz
In llvm package, the binaries must remain in $PREFIX/bin or else llvm-config will show weird values
Diffstat (limited to 'compat32-tools')
-rwxr-xr-xcompat32-tools/convertpkg-compat326
1 files changed, 6 insertions, 0 deletions
diff --git a/compat32-tools/convertpkg-compat32 b/compat32-tools/convertpkg-compat32
index e1efc1d..5f12024 100755
--- a/compat32-tools/convertpkg-compat32
+++ b/compat32-tools/convertpkg-compat32
@@ -195,6 +195,12 @@ fi
if [ "$PKGNAM" = "gtk+2" -o "$PKGNAM" = "gdk-pixbuf2" -o "$PKGNAM" = "pango" ];
then
find usr/bin -type f ! -name "*-32" -exec mv {} {}-32 \;
+elif [ "$PKGNAM" = "llvm" ];
+ mkdir usr/bin/32
+ for BIN in usr/bin/* ; do
+ ln -s ../${BIN}-32 usr/bin/32/$BIN
+ done
+ find usr/bin -type f ! -name "*-32" -exec mv {} {}-32 \;
elif [ -d usr/bin ]; then
mkdir ./32
find usr/bin -type f -exec mv {} ./32 \;