mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 06:29:23 +00:00
Fix static library name when building with mingw
When building static library with mingw the output file name should be `libexpat.a`, not `libexpat-1.dll`. This is a regression from https://github.com/libexpat/libexpat/pull/624 Original issue: https://github.com/microsoft/vcpkg/issues/27132
This commit is contained in:
parent
eb976a36d0
commit
90bc7cf0ab
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue