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 8c37823d45
commit 9130e411e1

View file

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