[epiphany/wip/smcv/rpath] lib: Give libephymisc a RUNPATH pointing to our private libraries



commit 34f48734f7537ff006747e46eb707ffa1a073d19
Author: Simon McVittie <smcv debian org>
Date:   Fri Aug 30 18:05:40 2019 +0100

    lib: Give libephymisc a RUNPATH pointing to our private libraries
    
    The shared libephymisc depends on libdazzle, and gets loaded by the web
    extension. libdazzle might be a private library from the subproject, and
    setting a RUNPATH on libephywebextension (which does not itself depend
    on libdazzle) is not sufficient to get the private libdazzle loaded,
    at least when building with -Wl,--as-needed.
    
    Signed-off-by: Simon McVittie <smcv debian org>
    Bug-Debian: https://bugs.debian.org/927731

 lib/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/meson.build b/lib/meson.build
index be5af33ef..0eb47570e 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -87,7 +87,8 @@ libephymisc = shared_library('ephymisc',
   dependencies: libephymisc_deps,
   include_directories: libephymisc_includes,
   install: true,
-  install_dir: pkglibdir
+  install_dir: pkglibdir,
+  install_rpath: pkglibdir
 )
 
 ephymisc_dep = declare_dependency(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]