Skip to content

Commit 9b61a84

Browse files
committed
Switch from llvm-dlltool to mingw dlltool
1 parent 255cf57 commit 9b61a84

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727
- set MSYSTEM=MINGW64
2828
- set PATH=C:/msys64/usr/bin;C:/msys64/mingw64/bin;%PATH%
2929
- set MINGWPREFIX=x86_64-w64-mingw32
30-
- "sh -lc \"pacman -S --noconfirm --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-autotools mingw-w64-x86_64-zlib mingw-w64-x86_64-bzip2 mingw-w64-x86_64-xz mingw-w64-x86_64-curl mingw-w64-x86_64-tools-git mingw-w64-x86_64-llvm\""
30+
- "sh -lc \"pacman -S --noconfirm --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-autotools mingw-w64-x86_64-zlib mingw-w64-x86_64-bzip2 mingw-w64-x86_64-xz mingw-w64-x86_64-curl mingw-w64-x86_64-tools-git\""
3131

3232
build_script:
3333
- set HOME=.

INSTALL

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,9 @@ compilers using pacman -S and the following package list:
283283
base-devel mingw-w64-x86_64-toolchain
284284
mingw-w64-x86_64-libdeflate mingw-w64-x86_64-zlib mingw-w64-x86_64-bzip2
285285
mingw-w64-x86_64-xz mingw-w64-x86_64-curl mingw-w64-x86_64-autotools
286-
mingw-w64-x86_64-tools-git mingw-w64-x86_64-llvm
286+
mingw-w64-x86_64-tools-git
287287

288-
(Those last two install gendef and llvm-dlltool and are only needed
289-
for building libraries compatible with MSVC.)
288+
(The last is only needed for building libraries compatible with MSVC.)
290289

291290
A working binary distribution may then be made using "./configure &&
292-
make win-dist". Building without autoconf is not supported on Windows.
291+
make win-dist". Building without autoconf is not supported on Windows.

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ SHLIB_FLAVOUR = cygdll
282282
lib-shared: cyghts-$(LIBHTS_SOVERSION).dll
283283
else ifeq "$(findstring MSYS,$(PLATFORM))" "MSYS"
284284
SHLIB_FLAVOUR = dll
285-
lib-shared: hts-$(LIBHTS_SOVERSION).lib
285+
lib-shared: hts-$(LIBHTS_SOVERSION).dll hts-$(LIBHTS_SOVERSION).def hts-$(LIBHTS_SOVERSION).lib
286286
else ifeq "$(findstring MINGW,$(PLATFORM))" "MINGW"
287287
SHLIB_FLAVOUR = dll
288-
lib-shared: hts-$(LIBHTS_SOVERSION).lib
288+
lib-shared: hts-$(LIBHTS_SOVERSION).dll hts-$(LIBHTS_SOVERSION).def hts-$(LIBHTS_SOVERSION).lib
289289
else
290290
SHLIB_FLAVOUR = so
291291
lib-shared: libhts.so
@@ -334,7 +334,7 @@ hts-$(LIBHTS_SOVERSION).def: hts-$(LIBHTS_SOVERSION).dll
334334
gendef hts-$(LIBHTS_SOVERSION).dll
335335

336336
hts-$(LIBHTS_SOVERSION).lib: hts-$(LIBHTS_SOVERSION).def
337-
llvm-dlltool -m i386:x86-64 -d hts-$(LIBHTS_SOVERSION).def -l hts-$(LIBHTS_SOVERSION).lib
337+
dlltool -m i386:x86-64 -d hts-$(LIBHTS_SOVERSION).def -l hts-$(LIBHTS_SOVERSION).lib
338338

339339
# Bundling libraries, binaries, dll dependencies, and licenses into a
340340
# single directory.

0 commit comments

Comments
 (0)