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
This commit is contained in:
Florian Müllner 2019-03-28 19:01:50 +01:00
parent d3277ac331
commit f5a845dd00
1 changed files with 3 additions and 2 deletions

View File

@ -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)