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:
@@ -1,16 +1,31 @@
|
||||
#! /usr/bin/env python
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
|
||||
# Thomas Nagy, 2008-2018 (ita)
|
||||
|
||||
"""
|
||||
Nasm tool (asm processing)
|
||||
"""
|
||||
|
||||
import os
|
||||
import waflib.Tools.asm
|
||||
import waflib.Tools.asm # leave this
|
||||
from waflib.TaskGen import feature
|
||||
|
||||
@feature('asm')
|
||||
def apply_nasm_vars(self):
|
||||
self.env.append_value('ASFLAGS',self.to_list(getattr(self,'nasm_flags',[])))
|
||||
"""provided for compatibility"""
|
||||
self.env.append_value('ASFLAGS', self.to_list(getattr(self, 'nasm_flags', [])))
|
||||
|
||||
def configure(conf):
|
||||
nasm=conf.find_program(['nasm','yasm'],var='AS')
|
||||
conf.env.AS_TGT_F=['-o']
|
||||
conf.env.ASLNK_TGT_F=['-o']
|
||||
"""
|
||||
Detect nasm/yasm and set the variable *AS*
|
||||
"""
|
||||
conf.find_program(['nasm', 'yasm'], var='AS')
|
||||
conf.env.AS_TGT_F = ['-o']
|
||||
conf.env.ASLNK_TGT_F = ['-o']
|
||||
conf.load('asm')
|
||||
conf.env.ASMPATH_ST='-I%s'+os.sep
|
||||
conf.env.ASMPATH_ST = '-I%s' + os.sep
|
||||
txt = conf.cmd_and_log(conf.env.AS + ['--version'])
|
||||
if 'yasm' in txt.lower():
|
||||
conf.env.ASM_NAME = 'yasm'
|
||||
else:
|
||||
conf.env.ASM_NAME = 'nasm'
|
||||
|
||||
Reference in New Issue
Block a user