summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2022-10-07 23:04:30 +0200
committerGitHub <noreply@github.com>2022-10-07 23:04:30 +0200
commitea4a24d7643667eb4200eee1fe2f232d54e06abf (patch)
treefcb94e0faf9f486a27224b4205aa5353a99007fb
parenteb976a36d0150402620e498420c9491422565fc1 (diff)
parent90bc7cf0ab81fad0f21c6796de8c4f10d40d964c (diff)
downloadlibexpat-git-ea4a24d7643667eb4200eee1fe2f232d54e06abf.tar.gz
Merge pull request #658 from Osyotr/patch-1
[2.4.9] CMake: Fix static library name when building with MinGW
-rw-r--r--expat/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
index 044877e7..a1ffe874 100644
--- a/expat/CMakeLists.txt
+++ b/expat/CMakeLists.txt
@@ -459,7 +459,7 @@ if(NOT WIN32)
endif()
endif()
-if(MINGW)
+if(MINGW AND EXPAT_SHARED_LIBS)
set_target_properties(expat PROPERTIES SUFFIX "-${LIBCURRENT_MINUS_AGE}.dll")
endif()