Skip to content

Commit 59d41de

Browse files
committed
Try to avoid empty string
- g++ has a problem with '' - clang++ does not seem to mind it.
1 parent b87f6db commit 59d41de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ if get_option('default_library') == 'shared' and meson.get_compiler('cpp').get_i
5050
dll_export_flag = '-DJSON_DLL_BUILD'
5151
dll_import_flag = '-DJSON_DLL'
5252
else
53-
dll_export_flag = ''
54-
dll_import_flag = ''
53+
dll_export_flag = []
54+
dll_import_flag = []
5555
endif
5656

5757
jsoncpp_lib = library(

0 commit comments

Comments
 (0)