[gthumb: 1/2] Use meson includedir for extensions instead of hardcoding 'include'



commit 887729e539a124b51a85cbce16035030e96ccc5f
Author: Timo Gurr <timo gurr gmail com>
Date:   Wed Feb 20 19:16:28 2019 +0100

    Use meson includedir for extensions instead of hardcoding 'include'
    
    This fixes the build on distros that use e.g. /usr/x86_64-pc-linux-gnu/include.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 9edf700c..6f1ead3f 100644
--- a/meson.build
+++ b/meson.build
@@ -32,7 +32,7 @@ c_comp = meson.get_compiler('c')
 prefix = get_option('prefix')
 datadir = join_paths(prefix, get_option('datadir'))
 pkgdatadir = join_paths(datadir, meson.project_name())
-pkgincludedir = join_paths(prefix, 'include', meson.project_name())
+pkgincludedir = join_paths(prefix, get_option('includedir'), meson.project_name())
 pkglibdir = join_paths(prefix, 'lib', meson.project_name())
 po_dir = join_paths(meson.source_root(), 'po')
 extensions_install_dir = join_paths(pkglibdir, 'extensions')


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