libcxx: fix cross build of static library.

This commit is contained in:
Christian Neukirchen 2016-05-01 17:43:49 +02:00
parent a89260d5d8
commit 8b31c68d9b

View file

@ -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 ..
)
}