[libgit2-glib] meson: Do not use an array for default options



commit daf01d9e3fa89506b6da2aba5175803fa42f6af9
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Tue Oct 23 07:33:08 2018 +0200

    meson: Do not use an array for default options
    
    An array is used for setting default options in project function.
    However, the fact that only one option is set makes the use of the
    array unnecessary.
    
    The build type is set now as a single option.

 meson.build | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index bdcc0b3..e21f99a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,8 +1,6 @@
 project('libgit2-glib', 'c',
         version: '0.27.7',
-        default_options: [
-          'buildtype=debugoptimized'
-        ],
+        default_options: 'buildtype=debugoptimized',
         license: 'LGPL2+',
         meson_version: '>= 0.48.0')
 


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