This is an automated email from the ASF dual-hosted git repository. jdanek pushed a commit to branch jd_2022_02_03_macoslibssl in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 787cafe1a43b90abae0c63ce01053dbc331d0e96 Author: Jiri Daněk <[email protected]> AuthorDate: Thu Feb 3 11:03:30 2022 +0100 PROTON-xxx fix macos linking fail in travis --- python/setup.py.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/setup.py.in b/python/setup.py.in index 697fa70..3412d4a 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -125,6 +125,7 @@ class Configure(build_ext): # Look for any optional libraries that proton needs, and adjust the # source list and compile flags as necessary. + library_dirs = [] libraries = [] includes = [] macros = [] @@ -145,6 +146,7 @@ class Configure(build_ext): # pkg-config for a minimum version 0. If it's installed, it should # return True and we'll use it. Otherwise, we'll use the stub. if misc.pkg_config_version_installed('openssl', atleast='0'): + library_dirs += [misc.pkg_config_get_var('openssl', 'libdir')] libraries += ['ssl', 'crypto'] includes += [misc.pkg_config_get_var('openssl', 'includedir')] sources.append(os.path.join(proton_src, 'ssl', 'openssl.c')) @@ -214,6 +216,7 @@ class Configure(build_ext): # lastly replace the libqpid-proton-core dependency with libraries required # by the Proton objects: + _cproton.library_dirs = library_dirs _cproton.libraries = libraries def libqpid_proton_installed(self, version): --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
