From ba1d9bdd0b91a27b5bc99f3aa220f7d8bec2b8a8 Mon Sep 17 00:00:00 2001 From: Tim Stahlhut Date: Fri, 27 Oct 2023 22:35:09 -0400 Subject: [PATCH] kicad-library: Add if --- mingw-w64-kicad-library/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-kicad-library/PKGBUILD b/mingw-w64-kicad-library/PKGBUILD index 4015c5e626f17..eda0f4c2691a6 100644 --- a/mingw-w64-kicad-library/PKGBUILD +++ b/mingw-w64-kicad-library/PKGBUILD @@ -38,6 +38,7 @@ build() { fi for _s in "footprints" "symbols" "templates" "packages3D"; do + if [[ ${MSYSTEM} != "CLANG32" && ${MSYSTEM} != "MINGW32" ]]; then msg2 "Build kicad-${_s}" [[ -d "${srcdir}"/build-${_s}-${MSYSTEM} ]] && rm -rf "${srcdir}"/build-${_s}-${MSYSTEM} mkdir -p "${srcdir}/build-${_s}-${MSYSTEM}" && cd "${srcdir}/build-${_s}-${MSYSTEM}" @@ -50,6 +51,7 @@ build() { ../${_realname}-${_s}-${pkgver} "${MINGW_PREFIX}"/bin/cmake.exe --build . + fi done }