fix(rpath): updated rpath inclusion for dynamic loading
This commit is contained in:
@@ -17,7 +17,6 @@ quill_dep = quill_sp.dependency('quill')
|
|||||||
|
|
||||||
if get_option('default_library') != 'static'
|
if get_option('default_library') != 'static'
|
||||||
message('Registering quill headers for installation...')
|
message('Registering quill headers for installation...')
|
||||||
# Note: verify this path matches your source structure
|
|
||||||
quill_headers = meson.global_source_root() + '/subprojects/quill/include/quill'
|
quill_headers = meson.global_source_root() + '/subprojects/quill/include/quill'
|
||||||
install_subdir(quill_headers, install_dir: get_option('includedir'))
|
install_subdir(quill_headers, install_dir: get_option('includedir'))
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# 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 default visibility for all C++ targets
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
@@ -42,7 +42,7 @@ if get_option('pkg_config')
|
|||||||
name: 'liblogging',
|
name: 'liblogging',
|
||||||
description: 'Logging manager for SERiF and related projects',
|
description: 'Logging manager for SERiF and related projects',
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
libraries: [liblogging],
|
libraries: [liblogging,'-Wl,-rpath,${libdir}'],
|
||||||
subdirs: ['fourdst'],
|
subdirs: ['fourdst'],
|
||||||
filebase: 'fourdst_logging',
|
filebase: 'fourdst_logging',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
|
|||||||
Reference in New Issue
Block a user