fix win-x86-vst support in build by using CFLAGS and CXXFLAGS not CPPPATH

git-svn-id: svn://localhost/ardour2/branches/3.0@10645 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-16 12:49:03 +00:00
parent 6e1aa92eb8
commit a5015ec50c

View file

@ -558,7 +558,8 @@ def configure(conf):
if opts.vst:
conf.define('VST_SUPPORT', 1)
conf.env['VST_SUPPORT'] = True
conf.env.append_value('CPPPATH', Options.options.wine_include)
conf.env.append_value('CFLAGS', Options.options.wine_include)
conf.env.append_value('CXXFLAGS', Options.options.wine_include)
autowaf.check_header(conf, 'cxx', 'windows.h', mandatory = True)
if opts.lxvst:
conf.define('LXVST_SUPPORT', 1)