Browse Source

Add lilv patch to fix linux build

tags/v1.0
falkTX 4 years ago
parent
commit
46ea413db1
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      patches/lilv/linux/01_fix-build.patch

+ 22
- 0
patches/lilv/linux/01_fix-build.patch View File

@@ -0,0 +1,22 @@
diff --git a/wscript b/wscript
index eac32f9..acfa28d 100644
--- a/wscript
+++ b/wscript
@@ -192,7 +192,7 @@ def build_util(bld, name, defines, libs=''):
obj.use = 'liblilv_static'
if bld.env.STATIC_PROGS:
if not bld.env.MSVC_COMPILER:
- obj.lib = ['m']
+ obj.lib = ['dl', 'm']
obj.env.SHLIB_MARKER = obj.env.STLIB_MARKER
obj.linkflags = ['-static', '-Wl,--start-group']
return obj
@@ -427,7 +427,7 @@ def build(bld):
not bld.env.STATIC_PROGS):
obj = build_util(bld, 'utils/lv2bench', defines)
if bld.env.DEST_OS != 'darwin':
- obj.lib = ['rt']
+ obj.lib = ['dl', 'rt']
# Documentation
autowaf.build_dox(bld, 'LILV', LILV_VERSION, top, out)

Loading…
Cancel
Save