From 8b31c68d9be7ed645867b12aaa30742ebc4dd363 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 1 May 2016 17:43:49 +0200 Subject: [PATCH] libcxx: fix cross build of static library. --- srcpkgs/libcxx/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/libcxx/template b/srcpkgs/libcxx/template index 8bd71421d3..72340b400b 100644 --- a/srcpkgs/libcxx/template +++ b/srcpkgs/libcxx/template @@ -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 .. ) }