Commit 1dcb4e99 authored by Hanspeter Portner's avatar Hanspeter Portner

mson: statically link to sratom, if possible.

parent d4c2aa6c
Pipeline #26226833 failed with stages
in 89 minutes and 21 seconds
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment