diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 4ac2960f11..288595fde5 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -148,6 +148,8 @@ def build(bld): if bld.env['build_target'] == 'x86_64': obj.defines += [ 'USE_X86_64_ASM' ] + if bld.env['build_target'] == 'mingw': + obj.linkflags += ['-lole'] if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'): # Unit tests