Any reason why multiarch_wrapper isn't used for pkg-config? Ex:
mv -v /usr/bin/pkg-config{,.bin}
cat > /usr/bin/pkg-config-32 << "EOF"
#!/bin/sh
# Begin /usr/bin/pkg-config-32
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" /usr/bin/pkg-config.bin $@
# End /usr/bin/pkg-config-32
EOF
sed 's/32/64/g' /usr/bin/pkg-config-32 > /usr/bin/pkg-config-64
chmod 755 /usr/bin/pkg-config-{32,64}
ln -s multiarch_wrapper /usr/bin/pkg-config
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org