Workaround Arch Linux path for libfakeroot, tested and reported by pancake.
This commit is contained in:
parent
60b08e90c3
commit
97811e8af0
2 changed files with 10 additions and 6 deletions
|
@ -32,7 +32,10 @@ set_build_vars()
|
|||
{
|
||||
if [ -z "$in_chroot" ]; then
|
||||
SAVE_LDLIBPATH=$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH="$XBPS_MASTERDIR/usr/lib:$LD_LIBRARY_PATH"
|
||||
if [ -d /usr/lib/libfakeroot ]; then
|
||||
LDLIBPATH="/usr/lib/libfakeroot"
|
||||
fi
|
||||
LD_LIBRARY_PATH="$LDLIBPATH:$XBPS_MASTERDIR/usr/lib:$LD_LIBRARY_PATH"
|
||||
PKG_CONFIG="$XBPS_MASTERDIR/usr/bin/pkg-config"
|
||||
PKG_CONFIG_LIBDIR="$XBPS_MASTERDIR/usr/lib/pkgconfig"
|
||||
LDFLAGS="-L$XBPS_MASTERDIR/usr/lib"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue