From ae60166cd931609a4f6467a62261bcfb63221ce5 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 24 Jun 2021 12:40:52 +0200 Subject: 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 Change-Id: I02b2162f62cbdbf3d00f54edae52aa03c7b4b046 --- meson.build | 3 +++ 1 file changed, 3 insertions(+) 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 ) -- cgit 1.2.3-korg