vendor_qm-dsp.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. diff --git i/libs/qm-dsp/wscript w/libs/qm-dsp/wscript
  2. index 775098e06b..13f6b9410a 100644
  3. --- i/libs/qm-dsp/wscript
  4. +++ w/libs/qm-dsp/wscript
  5. @@ -23,17 +23,10 @@ def options(opt):
  6. autowaf.set_options(opt)
  7. def configure(conf):
  8. - if conf.is_defined('USE_EXTERNAL_LIBS'):
  9. - conf.check_cxx(header_name="base/Pitch.h", mandatory=True)
  10. - conf.check_cxx(lib="qm-dsp", uselib_store="QMDSP", mandatory=True)
  11. - else:
  12. - conf.load('compiler_cxx')
  13. - autowaf.configure(conf)
  14. + conf.load('compiler_cxx')
  15. + autowaf.configure(conf)
  16. def build(bld):
  17. - if bld.is_defined('USE_EXTERNAL_LIBS'):
  18. - return
  19. -
  20. # Host Library
  21. obj = bld(features = 'c cxx cxxstlib')
  22. obj.source = '''
  23. diff --git i/wscript w/wscript
  24. index 1c9bb1ff5d..95d377d8a7 100644
  25. --- i/wscript
  26. +++ w/wscript
  27. @@ -1041,8 +1041,6 @@ def configure(conf):
  28. if Options.options.use_external_libs:
  29. conf.define('USE_EXTERNAL_LIBS', 1)
  30. - conf.env.append_value(
  31. - 'CXXFLAGS', '-I' + Options.options.qm_dsp_include)
  32. if Options.options.boost_include != '':
  33. conf.env.append_value('CXXFLAGS', '-I' + Options.options.boost_include)