Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
805B

  1. diff --git a/wscript b/wscript
  2. index eac32f9..acfa28d 100644
  3. --- a/wscript
  4. +++ b/wscript
  5. @@ -192,7 +192,7 @@ def build_util(bld, name, defines, libs=''):
  6. obj.use = 'liblilv_static'
  7. if bld.env.STATIC_PROGS:
  8. if not bld.env.MSVC_COMPILER:
  9. - obj.lib = ['m']
  10. + obj.lib = ['dl', 'm']
  11. obj.env.SHLIB_MARKER = obj.env.STLIB_MARKER
  12. obj.linkflags = ['-static', '-Wl,--start-group']
  13. return obj
  14. @@ -427,7 +427,7 @@ def build(bld):
  15. not bld.env.STATIC_PROGS):
  16. obj = build_util(bld, 'utils/lv2bench', defines)
  17. if bld.env.DEST_OS != 'darwin':
  18. - obj.lib = ['rt']
  19. + obj.lib = ['dl', 'rt']
  20. # Documentation
  21. autowaf.build_dox(bld, 'LILV', LILV_VERSION, top, out)