diff options
author | Florian Müllner <fmuellner@gnome.org> | 2019-03-28 19:01:50 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2019-03-28 19:06:26 +0100 |
commit | f5a845dd00335db7033615e4c92797f18e1cc595 (patch) | |
tree | 2e7ac0d906ac3bb7dc2ab4ba630a60161f7f0947 | |
parent | d3277ac3316da276f49c1c342cfdb738aca535b7 (diff) | |
download | libnotify-wip/fmuellner/fix-meson-build.tar.gz |
build: Don't use absolute path with 'subdir' keywordwip/fmuellner/fix-meson-build
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
-rw-r--r-- | libnotify/meson.build | 5 |
1 files 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) |