From 70645941f921b3242c17fe027e69221742c9536c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milo=C5=A1=20Komar=C4=8Devi=C4=87?=
<miloskomarcevic@aim.com>
Date: Fri, 16 Dec 2022 08:26:15 +0000
Subject: [PATCH] MinGW compilers don't need a .def file for shared library
---
libtiff/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libtiff/CMakeLists.txt b/libtiff/CMakeLists.txt
index 3fab9b67..17df0bed 100755
--- a/libtiff/CMakeLists.txt
+++ b/libtiff/CMakeLists.txt
@@ -190,7 +190,7 @@ if(CXX_SUPPORT)
tiffio.hxx)
# No .def file for this library.
- if (WIN32)
+ if (WIN32 AND NOT MINGW)
add_library(tiffxx STATIC ../placeholder.h)
else()
add_library(tiffxx ../placeholder.h)