fixed unbound static lib on mingw as libunbound.dll.a

This commit is contained in:
Riccardo Spagni 2014-10-02 15:49:18 +02:00
parent bba217a2a6
commit 6b9a7fcd67
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -38,7 +38,11 @@ FIND_PATH(UNBOUND_INCLUDE_DIR
)
if(STATIC)
find_library(UNBOUND_LIBRARIES libunbound.a)
if(MINGW)
find_library(UNBOUND_LIBRARIES libunbound.dll.a)
else()
find_library(UNBOUND_LIBRARIES libunbound.a)
endif()
else()
find_library(UNBOUND_LIBRARIES unbound)
endif()