mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-06 17:13:49 +01:00
Update local LV2 libraries to latest versions
lilv-0.24.6 lv2-1.16.0 serd-0.30.2 sord-0.16.4 sratom-0.6.4 suil-0.10.6
This commit is contained in:
30
lib-src/lv2/sord/waflib/Tools/clangxx.py
Normal file
30
lib-src/lv2/sord/waflib/Tools/clangxx.py
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# Thomas Nagy 2009-2018 (ita)
|
||||
|
||||
"""
|
||||
Detect the Clang++ C++ compiler
|
||||
"""
|
||||
|
||||
from waflib.Tools import ccroot, ar, gxx
|
||||
from waflib.Configure import conf
|
||||
|
||||
@conf
|
||||
def find_clangxx(conf):
|
||||
"""
|
||||
Finds the program clang++, and executes it to ensure it really is clang++
|
||||
"""
|
||||
cxx = conf.find_program('clang++', var='CXX')
|
||||
conf.get_cc_version(cxx, clang=True)
|
||||
conf.env.CXX_NAME = 'clang'
|
||||
|
||||
def configure(conf):
|
||||
conf.find_clangxx()
|
||||
conf.find_program(['llvm-ar', 'ar'], var='AR')
|
||||
conf.find_ar()
|
||||
conf.gxx_common_flags()
|
||||
conf.gxx_modifier_platform()
|
||||
conf.cxx_load_tools()
|
||||
conf.cxx_add_flags()
|
||||
conf.link_add_flags()
|
||||
|
||||
Reference in New Issue
Block a user