Skip to content

Commit

Permalink
pyzmq needs to link libsodium directly
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jan 5, 2024
1 parent e70a63e commit ddd79a6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,18 @@ if [false, 'default', 'auto'].contains(zmq_prefix)
if cfg.get('no_libzmq_extension', false)
error('bundled libzmq is disabled, but libzmq was not found')
endif
# subproject('libsodium')
# subproject('zeromq')
libzmq = dependency('zmq_static', required: true, static: true)
libzmq = [
dependency('zmq_static', required: true, static: true),
dependency('sodium_static', required: true, static: true),
]
endif
endif
elif zmq_prefix == 'bundled'
# bundle requested, no search
libzmq = dependency('zmq_static', required: true, static: true)
libzmq = [
dependency('zmq_static', required: true, static: true),
dependency('sodium_static', required: true, static: true),
]
else
# lookup by explicit prefix
libzmq = cc.find_library('zmq', dirs: [zmq_prefix / 'lib'], header_include_directories: include_directories(zmq_prefix / 'include'), has_headers: 'zmq.h', required: true)
Expand Down

0 comments on commit ddd79a6

Please sign in to comment.