Skip to content

Commit

Permalink
Merge pull request nghttp2#1394 from wrowe/fix-static-libname
Browse files Browse the repository at this point in the history
Avoid filename collision of static and dynamic lib
  • Loading branch information
tatsuhiro-t authored Sep 21, 2019
2 parents 70b62c1 + 28b1f0b commit b8a43db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b8a43db

Please sign in to comment.