Merge pull request #1394 from wrowe/fix-static-libname
Avoid filename collision of static and dynamic lib
This commit is contained in:
commit
b8a43db84c
|
@ -62,7 +62,7 @@ if(HAVE_CUNIT OR ENABLE_STATIC_LIB)
|
||||||
set_target_properties(nghttp2_static PROPERTIES
|
set_target_properties(nghttp2_static PROPERTIES
|
||||||
COMPILE_FLAGS "${WARNCFLAGS}"
|
COMPILE_FLAGS "${WARNCFLAGS}"
|
||||||
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
||||||
ARCHIVE_OUTPUT_NAME nghttp2
|
ARCHIVE_OUTPUT_NAME nghttp2_static
|
||||||
)
|
)
|
||||||
target_compile_definitions(nghttp2_static PUBLIC "-DNGHTTP2_STATICLIB")
|
target_compile_definitions(nghttp2_static PUBLIC "-DNGHTTP2_STATICLIB")
|
||||||
if(ENABLE_STATIC_LIB)
|
if(ENABLE_STATIC_LIB)
|
||||||
|
|
Loading…
Reference in New Issue