[Windows] Don't use a .def file

This commit is contained in:
Nick Terrell
2019-02-19 16:52:38 -08:00
parent 0c86d23467
commit 9f9630f455
2 changed files with 1 additions and 89 deletions
+1 -2
View File
@@ -151,8 +151,7 @@ ifneq (,$(filter Windows%,$(OS)))
LIBZSTD = dll\libzstd.dll
$(LIBZSTD): $(ZSTD_FILES)
@echo compiling dynamic library $(LIBVER)
@$(CC) $(FLAGS) -DZSTD_DLL_EXPORT=1 -shared $^ -o $@
dlltool -D $@ -d dll\libzstd.def -l dll\libzstd.lib
$(CC) $(FLAGS) -DZSTD_DLL_EXPORT=1 -Wl,--out-implib,dll\libzstd.lib -shared $^ -o $@
else