Commit 7c307cdad7a6ff0b61255333d95c1c25e25404f1
1 parent
411711ef
Exists in
master
and in
3 other branches
Fixing windows package.
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
Makefile.in
configure.ac
... | ... | @@ -63,6 +63,7 @@ dnl --------------------------------------------------------------------------- |
63 | 63 | case "$host" in |
64 | 64 | *-mingw32|*-pc-msys) |
65 | 65 | app_cv_osname="windows" |
66 | + app_rls_ldflags="-mwindows" | |
66 | 67 | |
67 | 68 | CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" |
68 | 69 | LDFLAGS="$LDFLAGS -pthread" |
... | ... | @@ -71,6 +72,7 @@ case "$host" in |
71 | 72 | app_win32_revision=$(date +%-y.%-m.%-d.%-H) |
72 | 73 | AC_SUBST(WIN32_VERSION,$app_win32_revision) |
73 | 74 | |
75 | + | |
74 | 76 | app_win32_file_version=$(date +%-y,%-m,%-d,%-H) |
75 | 77 | AC_SUBST(WIN32_FILE_VERSION,$app_win32_file_version) |
76 | 78 | |
... | ... | @@ -100,6 +102,7 @@ case "$host" in |
100 | 102 | |
101 | 103 | *) |
102 | 104 | app_cv_osname="linux" |
105 | + app_rls_ldflags="" | |
103 | 106 | |
104 | 107 | CFLAGS="$CFLAGS -pthread -DLIBDIR=\$(libdir)" |
105 | 108 | LDFLAGS="$LDFLAGS -pthread" |
... | ... | @@ -113,6 +116,7 @@ case "$host" in |
113 | 116 | esac |
114 | 117 | |
115 | 118 | AC_SUBST(OSNAME,$app_cv_osname) |
119 | +AC_SUBST(RLS_LDFLAGS,$app_rls_ldflags) | |
116 | 120 | AC_SUBST(LIBS) |
117 | 121 | AC_SUBST(LOGDIR) |
118 | 122 | AC_SUBST(DLLEXT) | ... | ... |