fix(rpath): updated rpath inclusion for dynamic loading

This commit is contained in:
2026-06-10 15:09:21 -04:00
parent 957802f7bd
commit f9cf681c67
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,6 @@ quill_dep = quill_sp.dependency('quill')
if get_option('default_library') != 'static'
message('Registering quill headers for installation...')
# Note: verify this path matches your source structure
quill_headers = meson.global_source_root() + '/subprojects/quill/include/quill'
install_subdir(quill_headers, install_dir: get_option('includedir'))
endif

View File

@@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# *********************************************************************** #
project('liblogging', 'cpp', version: 'v1.1.2', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
project('liblogging', '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')
@@ -42,7 +42,7 @@ if get_option('pkg_config')
name: 'liblogging',
description: 'Logging manager for SERiF and related projects',
version: meson.project_version(),
libraries: [liblogging],
libraries: [liblogging,'-Wl,-rpath,${libdir}'],
subdirs: ['fourdst'],
filebase: 'fourdst_logging',
install_dir: join_paths(get_option('libdir'), 'pkgconfig')