libsmf.name = 'libsmf'
libsmf.target = 'smf'
libsmf.uselib = 'GLIB'
- libsmf.cxxflags = [ '-fPIC' ]
- libsmf.cflags = [ '-fPIC' ]
- libsmf.install_path = bld.env['LIBDIR']
+ libsmf.install_path = None
+ if bld.env['build_target'] != 'mingw':
+ libsmf.cxxflags = [ '-fPIC' ]
+ libsmf.cflags = [ '-fPIC' ]
lib_source = '''
src/Control.cpp