From d2f3ffc624711dc7b99d8551ef9825173c8c076e Mon Sep 17 00:00:00 2001 From: dgsga <181612+dgsga@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:24:30 +0000 Subject: [PATCH] Update meson.build --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2988f1b5a83..f4345f88305 100644 --- a/meson.build +++ b/meson.build @@ -376,7 +376,7 @@ if get_option('with-bdb') != '' bdb_includes += include_directories(with_bdb / 'include' / subdir) endif endforeach -endif +else foreach dir : bdb_dirs foreach subdir : bdb_subdirs if fs.exists(dir / 'include' / subdir / 'db.h') @@ -393,6 +393,7 @@ endif break endif endforeach +endif if enable_rpath bdb_link_args += '-R' + bdb_libdir