Attempt to strip stupid FLAC include.
git-svn-id: svn://localhost/ardour2/branches/3.0@4683 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
db68fcfca6
commit
9e3b571189
14
wscript
14
wscript
@ -127,6 +127,20 @@ def configure(conf):
|
||||
for i in children:
|
||||
sub_config_and_use(conf, i)
|
||||
|
||||
print conf.env['CCFLAGS']
|
||||
print conf.env['CXXFLAGS']
|
||||
|
||||
# Fix utterly braindead FLAC include path
|
||||
for prefix in [ '/usr/include', '/usr/local/include' ]:
|
||||
for flags in [ conf.env['CCFLAGS'], conf.env['CXXFLAGS'] ]:
|
||||
for i in flags:
|
||||
if i == '-I' + prefix + '/FLAC':
|
||||
print '*** STRIPPED IDIOTIC FLAC INCLUDE PATH'
|
||||
flags.remove(i)
|
||||
|
||||
print conf.env['CCFLAGS']
|
||||
print conf.env['CXXFLAGS']
|
||||
|
||||
autowaf.print_summary(conf)
|
||||
opts = Options.options
|
||||
autowaf.display_header('Ardour Configuration')
|
||||
|
Loading…
Reference in New Issue
Block a user