From 59d41de5b1d5588e310f2f31552c66d4f3beef33 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sat, 23 Jun 2018 17:34:40 -0500 Subject: [PATCH] Try to avoid empty string - g++ has a problem with '' - clang++ does not seem to mind it. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 058d55a..a338cc0 100644 --- a/meson.build +++ b/meson.build @@ -50,8 +50,8 @@ if get_option('default_library') == 'shared' and meson.get_compiler('cpp').get_i dll_export_flag = '-DJSON_DLL_BUILD' dll_import_flag = '-DJSON_DLL' else - dll_export_flag = '' - dll_import_flag = '' + dll_export_flag = [] + dll_import_flag = [] endif jsoncpp_lib = library(