-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
The mingw guys have show that a static-lib build fails as it only has a zzip-0.a being around while pkgconfig referes to zzip.a
See pull request #116 for discussions.
This comes from having the symlink "ln -s libzzip-0.so libzzip.so" activated only for shared lib builds.
if(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG)
add_custom_target(libzzip_libtool_links ALL
COMMAND ${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE_NAME:libzzip> ${lib}${libname}${dll}
)
install(FILES
${outdir}/${lib}${libname}${dll}
DESTINATION ${CMAKE_INSTALL_LIBDIR})
So the whole RELNUM and non-rel-alias setup should be revisited.
Metadata
Metadata
Assignees
Labels
No labels