mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 16:00:07 +00:00
Avoid filename collision of static and dynamic lib
Renames the output of the ENABLE_STATIC_LIB library/archive output to nghttp2_static.lib/.a to avoid filenames colliding with the output name for ENABLE_SHARED_LIB library/archive, when both are enabled. Signed-off-by: William A Rowe Jr <wrowe@pivotal.io> Signed-off-by: Yechiel Kalmenson <ykalmenson@pivotal.io>
This commit is contained in:
parent
f8933fe504
commit
28b1f0b90f
@ -62,7 +62,7 @@ if(HAVE_CUNIT OR ENABLE_STATIC_LIB)
|
||||
set_target_properties(nghttp2_static PROPERTIES
|
||||
COMPILE_FLAGS "${WARNCFLAGS}"
|
||||
VERSION ${LT_VERSION} SOVERSION ${LT_SOVERSION}
|
||||
ARCHIVE_OUTPUT_NAME nghttp2
|
||||
ARCHIVE_OUTPUT_NAME nghttp2_static
|
||||
)
|
||||
target_compile_definitions(nghttp2_static PUBLIC "-DNGHTTP2_STATICLIB")
|
||||
if(ENABLE_STATIC_LIB)
|
||||
|
Loading…
Reference in New Issue
Block a user