diff options
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -49,6 +49,9 @@ def build_plugin(bld, lang, bundle, name, source, defines=None): # Build plugin library penv = bld.env.derive() penv.cshlib_PATTERN = bld.env.pluginlib_PATTERN + lib = [] + if not bld.env.MSVC_COMPILER: + lib = ['m'] obj = bld(features = '%s %sshlib' % (lang,lang), env = penv, source = source, @@ -57,7 +60,7 @@ def build_plugin(bld, lang, bundle, name, source, defines=None): target = os.path.join(bundle, name), uselib = ['LV2'], install_path = '${LV2DIR}/' + bundle, - lib = ['m']) + lib = lib) if defines != None: obj.defines = defines |