Commit b5980c2646167f2890a1e3d5890667261b1ac27e
1 parent
d8c6fb11
Exists in
master
and in
3 other branches
Fixing MSYS2 package.
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
configure.ac
| @@ -80,6 +80,7 @@ case "$host" in | @@ -80,6 +80,7 @@ case "$host" in | ||
| 80 | CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" | 80 | CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" |
| 81 | LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" | 81 | LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" |
| 82 | LDFLAGS="$LDFLAGS -pthread -static-libgcc -static-libstdc++" | 82 | LDFLAGS="$LDFLAGS -pthread -static-libgcc -static-libstdc++" |
| 83 | + DLL_LDFLAGS="-shared" | ||
| 83 | DLLEXT=".dll" | 84 | DLLEXT=".dll" |
| 84 | 85 | ||
| 85 | app_win32_revision=$(date +%y.%m.%d.%H) | 86 | app_win32_revision=$(date +%y.%m.%d.%H) |
win/PKGBUILD
| @@ -34,9 +34,7 @@ build() { | @@ -34,9 +34,7 @@ build() { | ||
| 34 | package() { | 34 | package() { |
| 35 | cd lib3270-$pkgver | 35 | cd lib3270-$pkgver |
| 36 | DESTDIR="$pkgdir" make install-dev | 36 | DESTDIR="$pkgdir" make install-dev |
| 37 | - install .bin/Release/*.dll $MINGW_PREFIX/bin | ||
| 38 | - | ||
| 39 | - dlltool.exe -D .bin/Release/lib3270.dll -l $MINGW_PREFIX/lib/lib3270_dll.a | 37 | + install .bin/Release/*.dll $MINGW_PREFIX/lib |
| 40 | 38 | ||
| 41 | } | 39 | } |
| 42 | 40 |