Always link to ole32 when building with mingw for get_win_special_folder

needed for CoTaskMemFree in get_win_special_folder
This commit is contained in:
Tim Mayberry 2014-05-02 20:48:04 +10:00
parent 9cde7b6051
commit b895a8f631

View File

@ -106,7 +106,7 @@ def configure(conf):
# Boost headers
autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp')
autowaf.check_header(conf, 'cxx', 'boost/weak_ptr.hpp')
if conf.env['WINDOWS_VST_SUPPORT'] == True and Options.options.dist_target == 'mingw':
if Options.options.dist_target == 'mingw':
conf.check(compiler='cxx',
lib='ole32',
mandatory=True,