Commit 52d358a4d7865817556c994ad5f6d1a2dcd16f0f

Authored by Perry Werneck
1 parent a345930b
Exists in master and in 1 other branch develop

Fixing windows builds.

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
configure.ac
... ... @@ -78,7 +78,6 @@ case "$host" in
78 78  
79 79 CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600"
80 80 LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32"
81   - LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
82 81 DLLEXT=".dll"
83 82  
84 83 app_win32_revision=$(date +%-y.%-m.%-d.%-H)
... ... @@ -108,7 +107,6 @@ AC_SUBST(LIBS)
108 107 AC_SUBST(LOGDIR)
109 108 AC_SUBST(DLLEXT)
110 109 AC_SUBST(DLLPREFIX)
111   -AC_SUBST(STATIC_LDFLAGS)
112 110 AC_SUBST(LDFLAGS)
113 111  
114 112 dnl ---------------------------------------------------------------------------
... ... @@ -224,6 +222,7 @@ if test "$app_cv_static_ipc3270" == "auto"; then
224 222 fi
225 223  
226 224 if test "$app_cv_static_ipc3270" == "yes"; then
  225 + LDFLAGS="-static -static-libgcc -static-libstdc++ $LDFLAGS"
227 226 PKG_CHECK_MODULES( [IPC3270], [ipc3270-static], AC_DEFINE(USING_STATIC_IPC3270), AC_MSG_ERROR([IPC3270 not present.]))
228 227 else
229 228 PKG_CHECK_MODULES( [IPC3270], [ipc3270], AC_DEFINE(USING_SHARED_IPC3270), AC_MSG_ERROR([IPC3270 not present.]))
... ...