From 5753e2cc7425c0ac92050b954c375c4cc23bc0b8 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Wed, 10 Jun 2026 15:10:12 -0400 Subject: [PATCH] fix(rpath): fixed rpath inclusion for dynamic loading --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 9533b61..6e2a26f 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # *********************************************************************** # -project('libconstants', 'cpp', version: 'v1.1.2', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') +project('libconstants', 'cpp', version: 'v1.1.3', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0') # Add default visibility for all C++ targets add_project_arguments('-fvisibility=default', language: 'cpp') @@ -44,7 +44,7 @@ if get_option('pkg_config') name: 'libconstants', description: 'Physical Constants for SERiF and related projects', version: meson.project_version(), - libraries: [libconst], + libraries: [libconst, '-Wl,-rpath,${libdir}'], subdirs: ['fourdst'], filebase: 'fourdst_constants', install_dir: join_paths(get_option('libdir'), 'pkgconfig')