mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 07:05:30 +03:00
meson: Use install_rpath as needed (#200)
This commit is contained in:
parent
6d3253a529
commit
ffcde2a31a
@ -21,6 +21,7 @@ gala_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: true,
|
||||
install_dir: [true, join_paths(get_option('includedir'), 'gala'), true],
|
||||
install_rpath: mutter_typelib_dir,
|
||||
version : '0.0.0',
|
||||
vala_args: [
|
||||
'--pkg', 'config',
|
||||
|
@ -230,9 +230,10 @@ if mutter_dep.length() == 0
|
||||
error ('No supported mutter library found!')
|
||||
endif
|
||||
|
||||
mutter_typelib_dir = libmutter_dep.get_pkgconfig_variable('typelibdir')
|
||||
|
||||
add_project_arguments(vala_flags, language: 'vala')
|
||||
add_project_link_arguments(['-Wl,-rpath,@0@'.format(libmutter_dep.get_pkgconfig_variable('typelibdir'))], language: 'c')
|
||||
add_project_link_arguments(['-Wl,-rpath,@0@'.format(mutter_typelib_dir)], language: 'c')
|
||||
|
||||
gala_base_dep = [glib_dep, gee_dep, gtk_dep, plank_dep, bamf_dep, mutter_dep, granite_dep, gnome_desktop_dep, m_dep]
|
||||
|
||||
|
@ -10,4 +10,5 @@ gala_maskcorners_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: true,
|
||||
install_dir: plugins_dir,
|
||||
install_rpath: mutter_typelib_dir,
|
||||
)
|
||||
|
@ -17,6 +17,7 @@ gala_notify_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: true,
|
||||
install_dir: plugins_dir,
|
||||
install_rpath: mutter_typelib_dir,
|
||||
)
|
||||
|
||||
install_data(
|
||||
|
@ -13,4 +13,5 @@ gala_pip_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: true,
|
||||
install_dir: plugins_dir,
|
||||
install_rpath: mutter_typelib_dir,
|
||||
)
|
||||
|
@ -9,4 +9,5 @@ gala_template_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: false,
|
||||
install_dir: plugins_dir,
|
||||
install_rpath: mutter_typelib_dir,
|
||||
)
|
||||
|
@ -9,4 +9,5 @@ gala_zoom_lib = shared_library(
|
||||
include_directories: config_inc_dir,
|
||||
install: true,
|
||||
install_dir: plugins_dir,
|
||||
install_rpath: mutter_typelib_dir,
|
||||
)
|
||||
|
@ -44,6 +44,6 @@ gala_bin = executable(
|
||||
gala_bin_sources,
|
||||
dependencies: [gala_dep, gala_base_dep],
|
||||
include_directories: config_inc_dir,
|
||||
install_rpath: libmutter_dep.get_pkgconfig_variable('typelibdir'),
|
||||
install_rpath: mutter_typelib_dir,
|
||||
install: true,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user