Commit b5980c2646167f2890a1e3d5890667261b1ac27e

Authored by Perry Werneck
1 parent d8c6fb11

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 80 CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600"
81 81 LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32"
82 82 LDFLAGS="$LDFLAGS -pthread -static-libgcc -static-libstdc++"
  83 + DLL_LDFLAGS="-shared"
83 84 DLLEXT=".dll"
84 85  
85 86 app_win32_revision=$(date +%y.%m.%d.%H)
... ...
win/PKGBUILD
... ... @@ -34,9 +34,7 @@ build() {
34 34 package() {
35 35 cd lib3270-$pkgver
36 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  
... ...