aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-05-15 21:11:32 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-05-15 21:11:32 +0200
commit759b8343b93000c0dbfc819d38560ff2b0945e07 (patch)
tree51a24b40dcc5b19c2f90f09c7d9faea4ec93b8d7
parentbe5a7bfeb69f6653c530a696e703fa2b15a3c4ee (diff)
downloadchim.lv2-759b8343b93000c0dbfc819d38560ff2b0945e07.tar.xz
fix gitlab CI script for mingw.
-rw-r--r--VERSION2
-rw-r--r--meson.build11
2 files changed, 11 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 9adbab1..7c3ae4e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.69
+0.1.71
diff --git a/meson.build b/meson.build
index d66d072..c660f50 100644
--- a/meson.build
+++ b/meson.build
@@ -15,6 +15,7 @@ clone = [cp, '@INPUT@', '@OUTPUT@']
m_dep = cc.find_library('m')
lv2_dep = dependency('lv2', version : '>=1.14.0')
+dsp_deps = [m_dep, lv2_dep]
props_inc = include_directories('props.lv2')
osc_inc = include_directories('osc.lv2')
@@ -29,11 +30,19 @@ dsp_srcs = ['chim.c',
c_args = ['-fvisibility=hidden',
'-ffast-math']
+if host_machine.system() == 'linux'
+ # nothing
+elif host_machine.system() == 'windows'
+ dsp_deps += cc.find_library('ws2_32')
+elif host_machine.system() == 'darwin'
+ # nothing
+endif
+
mod = shared_module('chim', dsp_srcs,
c_args : c_args,
include_directories : inc_dir,
name_prefix : '',
- dependencies : [m_dep, lv2_dep],
+ dependencies : dsp_deps,
install : true,
install_dir : inst_dir)