Try to avoid empty string

- g++ has a problem with ''
- clang++ does not seem to mind it.
This commit is contained in:
Christopher Dunn 2018-06-23 17:34:40 -05:00
parent b87f6dbc8a
commit 59d41de5b1

View File

@ -50,8 +50,8 @@ if get_option('default_library') == 'shared' and meson.get_compiler('cpp').get_i
dll_export_flag = '-DJSON_DLL_BUILD' dll_export_flag = '-DJSON_DLL_BUILD'
dll_import_flag = '-DJSON_DLL' dll_import_flag = '-DJSON_DLL'
else else
dll_export_flag = '' dll_export_flag = []
dll_import_flag = '' dll_import_flag = []
endif endif
jsoncpp_lib = library( jsoncpp_lib = library(