summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 828262f..31e73cc 100644
--- a/meson.build
+++ b/meson.build
@@ -101,6 +101,7 @@ sources = files(
# Set appropriate arguments for building against the library type
subdir('meson/library')
+extra_c_args = []
if get_option('default_library') == 'static'
extra_c_args = ['-DZIX_STATIC']
endif