[gnome-boxes] build: Pass only 'package_subdir' to submodules



commit 3432e93bad968bceb78b8fe63d856269f6a29251
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Jun 14 13:12:43 2018 +0200

    build: Pass only 'package_subdir' to submodules
    
    In meson 0.47 it will be an error to set subproject options which
    are not defined.
    
    Fixes #218

 src/meson.build | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 69a68f6b..895cc1e4 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -177,8 +177,7 @@ else
     gtk_frdp = subproject(
       'gtk-frdp',
       default_options: [
-        'pkgdatadir=' + pkgdatadir,
-        'pkglibdir=' + pkglibdir
+        'package_subdir=' + meson.project_name()
       ]
     )
 
@@ -188,8 +187,7 @@ else
   libovf = subproject(
     'libovf-glib',
     default_options: [
-      'pkgdatadir=' + pkgdatadir,
-      'pkglibdir=' + pkglibdir
+      'package_subdir=' + meson.project_name()
     ]
   )
 


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