gimp3: disable lua for clangarm64
the build fails if luajit is missing
This commit is contained in:
@@ -95,6 +95,11 @@ build() {
|
||||
[[ -d "${srcdir}"/build-${MSYSTEM} ]] && rm -rf "${srcdir}"/build-${MSYSTEM}
|
||||
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}
|
||||
|
||||
declare -a extra_config
|
||||
if [[ $MSYSTEM_CARCH == aarch64 ]]; then
|
||||
extra_config+=("-Dlua=disabled")
|
||||
fi
|
||||
|
||||
CFLAGS+=" -Wno-error=int-conversion -Wno-incompatible-function-pointer-types" \
|
||||
CXXFLAGS+=" -Wno-error=int-conversion -Wno-incompatible-function-pointer-types" \
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=" \
|
||||
@@ -115,6 +120,7 @@ build() {
|
||||
-Dlinux-input=disabled \
|
||||
-Dxcursor=disabled \
|
||||
-Dwin32-debug-console=true \
|
||||
"${extra_config[@]}" \
|
||||
../gimp-${pkgver}
|
||||
|
||||
${MINGW_PREFIX}/bin/meson.exe compile
|
||||
|
||||
Reference in New Issue
Block a user