diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-06-24 12:40:52 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-06-24 14:52:51 +0200 |
commit | ae60166cd931609a4f6467a62261bcfb63221ce5 (patch) | |
tree | b6f6cb44ca6f1ecdde98d82c3ba2cda2994d17ff /meson.build | |
parent | 0bef8700f21b9e7898f1785ee654d4669d0117b4 (diff) |
meson.build: Install run-time shared library to a specific path
Use prefix_path + libdir to install the run-time shared library and
avoid pulling lib with it.
This is necessary to avoid installing under PREFIX/ and use
PREFIX/agl-compositor instead. This was unfortunately missed
when doing the split in a previous commit.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I02b2162f62cbdbf3d00f54edae52aa03c7b4b046
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 27fb2d0..0b57628 100644 --- a/meson.build +++ b/meson.build @@ -237,11 +237,13 @@ if dep_libsmack.found() deps_libweston += dep_libsmack endif +dir_module_agl_compositor = join_paths(join_paths(prefix_path, get_option('libdir')), 'agl-compositor') libexec_compositor = shared_library( 'exec_compositor', sources: srcs_agl_compositor, dependencies: deps_libweston, + install_dir: dir_module_agl_compositor, install: true, version: '0.0.0', soversion: 0 @@ -259,6 +261,7 @@ exe_agl_compositor = executable( 'agl-compositor', 'src/main.c', dependencies: dep_libexec_compositor, + install_rpath: dir_module_agl_compositor, install: true ) |