summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e72b498..957bf18 100644
--- a/meson.build
+++ b/meson.build
@@ -5,6 +5,10 @@ project('proxy-libintl', 'c',
'c_std=gnu99',
'buildtype=debugoptimized' ])
+if get_option('default_library') == 'static'
+ add_project_arguments('-DG_INTL_STATIC_COMPILATION', language : 'c')
+endif
+
install_headers('libintl.h')
intl_lib = library('intl',