File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ pn_add_fuzz_test (fuzz-message-decode fuzz-message-decode.c)
5757
5858# pn_url_parse is not in proton core and is only used by messenger so compile specially
5959pn_add_fuzz_test (fuzz-url fuzz-url.c ${PN_C_SOURCE_DIR} /extra/url.c ${PN_C_SOURCE_DIR} /core/util.c)
60+ target_compile_definitions (fuzz-url PRIVATE PROTON_DECLARE_STATIC)
6061
6162# This regression test can take a very long time so don't run by default
6263if (HAS_PROACTOR AND FUZZ_LONG_TESTS)
Original file line number Diff line number Diff line change @@ -326,5 +326,5 @@ setup(name='python-qpid-proton',
326326 # Configure class above
327327 ext_modules = [Extension ('_cproton' ,
328328 sources = ['cproton_wrap.c' ],
329- extra_compile_args = ['-pthread' ],
329+ extra_compile_args = ['-pthread' , '-DPROTON_DECLARE_STATIC' ],
330330 libraries = ['qpid-proton-core' ])])
You can’t perform that action at this time.
0 commit comments