[libnotify/wip/fmuellner/fix-meson-build] build: Don't use absolute path with 'subdir' keyword



commit f5a845dd00335db7033615e4c92797f18e1cc595
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Mar 28 19:01:50 2019 +0100

    build: Don't use absolute path with 'subdir' keyword
    
    Newer meson versions expect a relative path (to the includedir option)
    there and reject passing an absolute path.
    
    https://gitlab.gnome.org/GNOME/libnotify/merge_requests/8

 libnotify/meson.build | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libnotify/meson.build b/libnotify/meson.build
index 15624da..a2fb814 100644
--- a/libnotify/meson.build
+++ b/libnotify/meson.build
@@ -1,4 +1,5 @@
-libnotify_includedir = join_paths(includedir, meson.project_name())
+libnotify_includesubdir = meson.project_name()
+libnotify_includedir = join_paths(includedir, libnotify_includesubdir)
 
 headers = [
   'notify.h',
@@ -81,4 +82,4 @@ if not introspection.disabled()
   )
 endif
 
-install_headers(headers, subdir: libnotify_includedir)
+install_headers(headers, subdir: libnotify_includesubdir)


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