Change test to apply both to mingw native and cross-compile builds.
authorSebastian Rasmussen <[email protected]>
Mon, 16 May 2022 12:04:26 +0000 (14:04 +0200)
committerSebastian Rasmussen <[email protected]>
Fri, 20 May 2022 13:01:21 +0000 (15:01 +0200)
Makefile

index c56e081bc3efdbe5cbbe7d36d0f1a2262689d22e..0f283846f8de2d81211554cc28c469d9294e2ea9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -239,7 +239,7 @@ generate: source/html/css-properties.h
 
 ifeq ($(shared),yes)
 MUPDF_LIB = $(OUT)/libmupdf.$(SO)
-ifeq ($(OS),MINGW)
+ifeq ($(SO),dll)
 MUPDF_LIB_IMPORT = $(OUT)/libmupdf_$(SO).a
 LIBS_TO_INSTALL_IN_BIN = $(MUPDF_LIB)
 LIBS_TO_INSTALL_IN_LIB = $(MUPDF_LIB_IMPORT)