Skip to content

Commit 4bdd99b

Browse files
committed
libdl is a dependency of MMCore, not MMCoreJ
(We missed it previously because it's only needed on older Linux, on which we've only tested building MMCoreJ.)
1 parent 7461b18 commit 4bdd99b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

MMCore/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ mmcore_lib = static_library(
9898
dependencies: [
9999
mmdevice_dep,
100100
dependency('threads'),
101+
dependency('dl', required: false),
101102
],
102103
gnu_symbol_visibility: 'inlineshidden',
103104
cpp_args: [

MMCoreJ_wrap/meson.build

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ mmcore_dep = mmcore_proj.get_variable('mmcore_dep')
4444
jni_dep = dependency('jni', version: '>= 1.8.0', modules: ['jvm'])
4545

4646
threads_dep = dependency('threads')
47-
dl_dep = dependency('dl', required: false)
4847

4948
swig_include_dirs = mmcore_proj.get_variable('swig_include_dirs')
5049
swig_incdir_args = []
@@ -144,7 +143,6 @@ shared_library(
144143
'mmcorej',
145144
swig_gen_cpp_sources,
146145
dependencies: [
147-
dl_dep,
148146
jni_dep,
149147
mmcore_dep,
150148
threads_dep,

0 commit comments

Comments
 (0)