diff --git a/srcpkgs/libcxx/template b/srcpkgs/libcxx/template index 8bd71421d3b..72340b400be 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 .. ) }