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
|
||||
cd ${wrksrc}/build-static
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
cp ${wrksrc}/build/cross_${XBPS_CROSS_TRIPLET}.cmake .
|
||||
fi
|
||||
cmake ${configure_args} -DLIBCXX_ENABLE_SHARED=OFF ..
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue