environment/gnu-configure-args: only set --libdir if build_style unset or gnu-configure.
This commit is contained in:
parent
23948935d0
commit
4a941c6dce
1 changed files with 3 additions and 1 deletions
|
@ -7,8 +7,10 @@ fi
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
# on x86 use /usr/lib32 as libdir, but just as fake directory,
|
# on x86 use /usr/lib32 as libdir, but just as fake directory,
|
||||||
# because /usr/lib32 is a symlink to /usr/lib in void.
|
# because /usr/lib32 is a symlink to /usr/lib in void.
|
||||||
|
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
|
||||||
export configure_args+=" --libdir=/usr/lib32"
|
export configure_args+=" --libdir=/usr/lib32"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Cross compilation vars
|
# Cross compilation vars
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue