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

pull/95/head
Riccardo Spagni 10 years ago
parent 8c37823d45
commit 9130e411e1

@ -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()

Loading…
Cancel
Save