fix(rpath): fixed rpath inclusion for dynamic loading
This commit is contained in:
@@ -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('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 default visibility for all C++ targets
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
@@ -44,7 +44,7 @@ if get_option('pkg_config')
|
|||||||
name: 'libconstants',
|
name: 'libconstants',
|
||||||
description: 'Physical Constants for SERiF and related projects',
|
description: 'Physical Constants for SERiF and related projects',
|
||||||
version: meson.project_version(),
|
version: meson.project_version(),
|
||||||
libraries: [libconst],
|
libraries: [libconst, '-Wl,-rpath,${libdir}'],
|
||||||
subdirs: ['fourdst'],
|
subdirs: ['fourdst'],
|
||||||
filebase: 'fourdst_constants',
|
filebase: 'fourdst_constants',
|
||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
|
|||||||
Reference in New Issue
Block a user