Commit a909eb6b authored by Peter Wu's avatar Peter Wu

cmake: fix linking http-parser into shared libs

parent 3dd57e1f
......@@ -3,6 +3,8 @@ if(ENABLE_THIRD_PARTY)
http-parser/http_parser.c
)
add_library(http-parser OBJECT ${LIBHTTP_PARSER_SOURCES})
set_target_properties(http-parser PROPERTIES
POSITION_INDEPENDENT_CODE ON)
if(HAVE_NEVERBLEED)
set(NEVERBLEED_SOURCES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment