Skip to content

Commit

Permalink
PROTON-2143: Get rid of Windows linkage warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
astitcher committed Nov 22, 2019
1 parent b9ea52d commit 69f5dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions c/tests/fuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pn_add_fuzz_test (fuzz-message-decode fuzz-message-decode.c)

# pn_url_parse is not in proton core and is only used by messenger so compile specially
pn_add_fuzz_test (fuzz-url fuzz-url.c ${PN_C_SOURCE_DIR}/extra/url.c ${PN_C_SOURCE_DIR}/core/util.c)
target_compile_definitions(fuzz-url PRIVATE PROTON_DECLARE_STATIC)

# This regression test can take a very long time so don't run by default
if(HAS_PROACTOR AND FUZZ_LONG_TESTS)
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,5 @@ setup(name='python-qpid-proton',
# Configure class above
ext_modules=[Extension('_cproton',
sources=['cproton_wrap.c'],
extra_compile_args=['-pthread'],
extra_compile_args=['-pthread', '-DPROTON_DECLARE_STATIC'],
libraries=['qpid-proton-core'])])

0 comments on commit 69f5dfe

Please sign in to comment.