Commit 39448f2cf2c075cea38d1bbec50661bb306c8d25
1 parent
6a8d9234
Exists in
master
and in
5 other branches
Ajustando empacotamento windows.
Showing
5 changed files
with
20 additions
and
9 deletions
Show diff stats
configure.ac
| ... | ... | @@ -95,10 +95,10 @@ case "$host" in |
| 95 | 95 | RLS_CFLAGS="-DNDEBUG=1" |
| 96 | 96 | |
| 97 | 97 | CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0600" |
| 98 | - LIBS="$LIBS -lws2_32 -lwtsapi32 -lintl -lcomdlg32" | |
| 98 | + LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" | |
| 99 | 99 | |
| 100 | 100 | dnl https://stackoverflow.com/questions/13768515/how-to-do-static-linking-of-libwinpthread-1-dll-in-mingw |
| 101 | - STATIC_LDFLAGS="-static-libstdc++ -static-libgcc" | |
| 101 | + STATIC_LDFLAGS="-static-libstdc++ -static-libgcc -static" | |
| 102 | 102 | |
| 103 | 103 | AC_CONFIG_FILES(win/makeruntime.sh) |
| 104 | 104 | AC_CONFIG_FILES(win/copydeps.sh) |
| ... | ... | @@ -218,6 +218,8 @@ dnl --------------------------------------------------------------------------- |
| 218 | 218 | dnl Check for libintl |
| 219 | 219 | dnl --------------------------------------------------------------------------- |
| 220 | 220 | |
| 221 | +INTL_LIBS="" | |
| 222 | + | |
| 221 | 223 | AC_PATH_TOOL([XGETTEXT], [xgettext], [no]) |
| 222 | 224 | AC_PATH_TOOL([MSGCAT], [msgcat], [no]) |
| 223 | 225 | AC_PATH_TOOL([MSGINIT], [msginit], [no]) |
| ... | ... | @@ -229,8 +231,21 @@ AC_PATH_TOOL([OPTIPNG],[optipng],[no]) |
| 229 | 231 | |
| 230 | 232 | AC_CHECK_HEADER(libintl.h, [ |
| 231 | 233 | AC_DEFINE(HAVE_LIBINTL, 1) |
| 234 | + | |
| 235 | + case "$host" in | |
| 236 | + *-mingw32) | |
| 237 | + INTL_LIBS="-lintl" | |
| 238 | + ;; | |
| 239 | + | |
| 240 | + *) | |
| 241 | + INTL_LIBS="" | |
| 242 | + | |
| 243 | + esac | |
| 244 | + | |
| 232 | 245 | ]) |
| 233 | 246 | |
| 247 | +AC_SUBST(INTL_LIBS) | |
| 248 | + | |
| 234 | 249 | dnl --------------------------------------------------------------------------- |
| 235 | 250 | dnl Check for ELF symbol visibility support |
| 236 | 251 | dnl --------------------------------------------------------------------------- | ... | ... |
locale/pw3270.pot
| ... | ... | @@ -9,7 +9,7 @@ msgstr "" |
| 9 | 9 | "#-#-#-#-# lib3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 10 | 10 | "Project-Id-Version: PACKAGE VERSION\n" |
| 11 | 11 | "Report-Msgid-Bugs-To: \n" |
| 12 | -"POT-Creation-Date: 2017-07-31 17:39-0300\n" | |
| 12 | +"POT-Creation-Date: 2017-08-01 09:39-0300\n" | |
| 13 | 13 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 14 | 14 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 15 | 15 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| ... | ... | @@ -20,7 +20,7 @@ msgstr "" |
| 20 | 20 | "#-#-#-#-# pw3270.pot (PACKAGE VERSION) #-#-#-#-#\n" |
| 21 | 21 | "Project-Id-Version: PACKAGE VERSION\n" |
| 22 | 22 | "Report-Msgid-Bugs-To: \n" |
| 23 | -"POT-Creation-Date: 2017-07-31 17:39-0300\n" | |
| 23 | +"POT-Creation-Date: 2017-08-01 09:39-0300\n" | |
| 24 | 24 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 25 | 25 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 26 | 26 | "Language-Team: LANGUAGE <LL@li.org>\n" | ... | ... |
src/lib3270/Makefile.in
| ... | ... | @@ -76,7 +76,7 @@ HOST_CC=@HOST_CC@ |
| 76 | 76 | LD=@CC@ |
| 77 | 77 | |
| 78 | 78 | CFLAGS=@CFLAGS@ @LIB3270_CFLAGS@ @LIBSSL_CFLAGS@ |
| 79 | -LIBS=@LIBS@ @LIBSSL_LIBS@ @LIBICONV@ | |
| 79 | +LIBS=@LIBS@ @LIBSSL_LIBS@ @LIBICONV@ @INTL_LIBS@ | |
| 80 | 80 | LDFLAGS=@LDFLAGS@ |
| 81 | 81 | |
| 82 | 82 | #---[ Rules ]---------------------------------------------------------------------------- | ... | ... |
win/makeruntime.sh.in
win/pw3270.nsi.in
| ... | ... | @@ -134,7 +134,6 @@ SubSection "@PACKAGE@" SecMain |
| 134 | 134 | CreateDirectory "$INSTDIR\plugins" |
| 135 | 135 | file "/oname=$INSTDIR\plugins\hllapi.dll" "..\.bin\Release\plugins\hllapi.dll" |
| 136 | 136 | file "/oname=$SYSDIR\libhllapi.dll" "..\.bin\Release\libhllapi.dll.@PACKAGE_VERSION@" |
| 137 | - file "/oname=$SYSDIR\libwinpthread-1.dll" "..\.bin\runtime\libwinpthread-1.dll" | |
| 138 | 137 | |
| 139 | 138 | sectionEnd |
| 140 | 139 | ... | ... |