About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5d6ee648f24..c5564e9c2c1 100644
--- a/meson.build
+++ b/meson.build
@@ -20,10 +20,13 @@ project(
if host_machine.system() == 'darwin'
add_languages('objc', native : false)
add_project_arguments('-fobjc-arc', language : 'objc')
+ libname_prefix = 'lib'
libname_suffix = 'dylib'
elif host_machine.system() == 'windows'
+ libname_prefix = ''
libname_suffix = 'dll'
else
+ libname_prefix = 'lib'
libname_suffix = 'so'
endif