aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-07-19 18:10:54 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-07-19 18:10:54 +0200
commit1dcb4e996af249a4156f5adf0dd002a308b1b30d (patch)
tree1642481a7868d0406caa0d3f65c987001e2e585f
parentd4c2aa6c54dd1784e63992c1a53bd7f68d4db6a7 (diff)
downloadsherlock.lv2-1dcb4e996af249a4156f5adf0dd002a308b1b30d.tar.xz
mson: statically link to sratom, if possible.
-rw-r--r--VERSION2
-rw-r--r--meson.build5
2 files changed, 4 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 3826d1a..977cf7a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.17.167
+0.17.169
diff --git a/meson.build b/meson.build
index a86a04e..bf2bf83 100644
--- a/meson.build
+++ b/meson.build
@@ -5,12 +5,13 @@ project('sherlock.lv2', 'c', default_options : [
'b_lto=true',
'c_std=c11'])
+static_link = meson.is_cross_build()
+
cc = meson.get_compiler('c')
m_dep = cc.find_library('m')
lv2_dep = dependency('lv2', version : '>=1.14.0')
-sratom_dep = dependency('sratom-0', version : '>=0.6.0',
- static : meson.is_cross_build() and false) #FIXME
+sratom_dep = dependency('sratom-0', version : '>=0.6.0', static : static_link)
dsp_deps = [m_dep, lv2_dep]
ui_deps = [m_dep, lv2_dep, sratom_dep]