mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
build_style/cmake: set LIBDIR to lib32 on x86.
This commit is contained in:
parent
ecf351e12e
commit
efd827ebbb
1 changed files with 8 additions and 1 deletions
|
@ -23,7 +23,14 @@ _EOF
|
||||||
configure_args+=" -DCMAKE_TOOLCHAIN_FILE=cross_${XBPS_CROSS_TRIPLET}.cmake"
|
configure_args+=" -DCMAKE_TOOLCHAIN_FILE=cross_${XBPS_CROSS_TRIPLET}.cmake"
|
||||||
fi
|
fi
|
||||||
configure_args+=" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
configure_args+=" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
||||||
configure_args+=" -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_SBINDIR=sbin"
|
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
|
configure_args+=" -DCMAKE_INSTALL_LIBDIR=lib32"
|
||||||
|
else
|
||||||
|
configure_args+=" -DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
|
fi
|
||||||
|
|
||||||
|
configure_args+=" -DCMAKE_INSTALL_SBINDIR=sbin"
|
||||||
|
|
||||||
cmake ${configure_args} ..
|
cmake ${configure_args} ..
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue