From cd957a2807c7345b4ed32a9dfa6761a3d7de0c69 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 16 Apr 2022 06:16:18 +0300 Subject: [PATCH 25/25] installer_cross: Enable nls on Qt-client build See osdn #44292 Signed-off-by: Marko Lindqvist --- windows/installer_cross/winbuild.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/windows/installer_cross/winbuild.sh b/windows/installer_cross/winbuild.sh index 725fd196f4..46b37bf07b 100755 --- a/windows/installer_cross/winbuild.sh +++ b/windows/installer_cross/winbuild.sh @@ -80,8 +80,7 @@ elif test "x$2" != "x" ; then gtk3) FCMP="gtk3" ;; sdl2) FCMP="gtk3" ;; gtk3.22) FCMP="gtk3" ;; - qt) FCMP="qt" - NLS="--disable-nls" ;; + qt) FCMP="qt" ;; *) echo "Unknown gui \"$2\"!" >&2 exit 1 ;; esac @@ -125,7 +124,6 @@ if test "x$SINGLE_GUI" != "xtrue" ; then then CLIENTS="$CLIENTS,qt" FCMP="$FCMP,qt" - NLS="--disable-nls" fi fi @@ -154,7 +152,7 @@ else GITREVP="" fi -if ! ../../../configure MOCCMD=${DLLSPATH}/bin/moc FREECIV_LABEL_FORCE="-crs" CPPFLAGS="-I${DLLSPATH}/include -D_WIN32_WINNT=${MIN_WINVER}" CFLAGS="-Wno-error" PKG_CONFIG_LIBDIR="${DLLSPATH}/lib/pkgconfig" --enable-sys-tolua-cmd --with-magickwand="${DLLSPATH}/bin" --prefix="/" $GITREVP --enable-client=$CLIENTS --enable-fcmp=$FCMP --enable-debug ${NLS} --host=$TARGET --build=$(../../../bootstrap/config.guess) --with-libiconv-prefix=${DLLSPATH} --with-sqlite3-prefix=${DLLSPATH} --with-followtag="crosser" --enable-crosser ${AIS} --disable-freeciv-manual --enable-sdl-mixer=sdl2 --with-qt5-includes=${DLLSPATH}/qt5/include --with-qt5-libs=${DLLSPATH}/lib --with-tinycthread --enable-server=$SERVER --enable-ruledit=$RULEDIT $EXTRA_CONFIG +if ! ../../../configure MOCCMD=${DLLSPATH}/bin/moc FREECIV_LABEL_FORCE="-crs" CPPFLAGS="-I${DLLSPATH}/include -D_WIN32_WINNT=${MIN_WINVER}" CFLAGS="-Wno-error" PKG_CONFIG_LIBDIR="${DLLSPATH}/lib/pkgconfig" --enable-sys-tolua-cmd --with-magickwand="${DLLSPATH}/bin" --prefix="/" $GITREVP --enable-client=$CLIENTS --enable-fcmp=$FCMP --enable-debug --host=$TARGET --build=$(../../../bootstrap/config.guess) --with-libiconv-prefix=${DLLSPATH} --with-sqlite3-prefix=${DLLSPATH} --with-followtag="crosser" --enable-crosser ${AIS} --disable-freeciv-manual --enable-sdl-mixer=sdl2 --with-qt5-includes=${DLLSPATH}/qt5/include --with-qt5-libs=${DLLSPATH}/lib --with-tinycthread --enable-server=$SERVER --enable-ruledit=$RULEDIT $EXTRA_CONFIG then echo "Configure failed" >&2 exit 1 -- 2.35.1