mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libcxx: fix cross build of static library.
This commit is contained in:
parent
a89260d5d8
commit
8b31c68d9b
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ post_configure() {
|
||||||
(
|
(
|
||||||
mkdir -p ${wrksrc}/build-static
|
mkdir -p ${wrksrc}/build-static
|
||||||
cd ${wrksrc}/build-static
|
cd ${wrksrc}/build-static
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
cp ${wrksrc}/build/cross_${XBPS_CROSS_TRIPLET}.cmake .
|
||||||
|
fi
|
||||||
cmake ${configure_args} -DLIBCXX_ENABLE_SHARED=OFF ..
|
cmake ${configure_args} -DLIBCXX_ENABLE_SHARED=OFF ..
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue