[libgepub: 4/5] build: Set prefix-relative install_dir for libgepub



commit 0bda77a662dfa845791413263a0c78b82ed30f0d
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Mon Nov 13 07:45:59 2017 +0100

    build: Set prefix-relative install_dir for libgepub
    
    While installing seems to have no issues with absolute paths
    for install_dir the pkgconfig integration in meson does
    and create wrong library paths in the .pc file.

 libgepub/meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgepub/meson.build b/libgepub/meson.build
index 2205090..470e7f7 100644
--- a/libgepub/meson.build
+++ b/libgepub/meson.build
@@ -62,7 +62,7 @@ pkg.generate(
     'libarchive'
   ],
   variables: 'exec_prefix=' + gepub_libexecdir,
-  install_dir: join_paths(gepub_libdir, 'pkgconfig')
+  install_dir: join_paths(get_option('libdir'), 'pkgconfig')
 )
 
 if get_option('introspection') and get_option('default_library') == 'shared'


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