libcloudproviders: fix build

This commit is contained in:
Jan Tojnar 2018-03-21 23:32:32 +01:00
parent fefbcbc550
commit f7397f21ab
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,10 @@ in stdenv.mkDerivation rec {
sha256 = "1c3vfg8wlsv0fmi1lm9qhsqdvp4k33yvwn6j680rh49laayf7k3g";
};
patches = [
./fix-include.patch
];
outputs = [ "out" "dev" "devdoc" ];
mesonFlags = [

View File

@ -0,0 +1,11 @@
--- a/meson.build
+++ b/meson.build
@@ -46,7 +46,7 @@
bindir = get_option ('bindir')
datadir = get_option ('datadir')
servicedir = join_paths (datadir, 'dbus-1', 'services')
-incdir = join_paths (prefix, 'include', 'cloudproviders')
+incdir = join_paths (prefix, get_option('includedir'), 'cloudproviders')
gnome = import('gnome')