Skip to content

Commit

Permalink
kicad-library: Add if
Browse files Browse the repository at this point in the history
  • Loading branch information
stahta01 committed Oct 28, 2023
1 parent 0ba213e commit ba1d9bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mingw-w64-kicad-library/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -50,6 +51,7 @@ build() {
../${_realname}-${_s}-${pkgver}

"${MINGW_PREFIX}"/bin/cmake.exe --build .
fi
done
}

Expand Down

0 comments on commit ba1d9bd

Please sign in to comment.