Skip to content

Commit

Permalink
Merge pull request #1271 from Monsterovich/feat-ignore-static-lib
Browse files Browse the repository at this point in the history
misc: do not install libconfig.a if it's built statically
  • Loading branch information
yshui committed May 30, 2024
2 parents f1346a0 + a3723ea commit 1fa8e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if not libconfig_dep.found()
sub_libconfig_opts.add_cmake_defines({
'BUILD_SHARED_LIBS': false,
})
sub_libconfig_opts.set_install(false)
sub_libconfig = cmake.subproject('libconfig', options: sub_libconfig_opts)
base_deps += [sub_libconfig.dependency('config')]
else
Expand Down

0 comments on commit 1fa8e70

Please sign in to comment.