diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-11 14:58:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-11 14:58:02 +0100 |
commit | 99260742d24001976a476959f725a461110a7575 (patch) | |
tree | 7add51fd0b8190ce22404a0bcb6eb9a811cd79e0 /libs/evoral/wscript | |
parent | 77821ba3736f6ad97e489648d67612266456596f (diff) |
mingw: all code is position independent
Diffstat (limited to 'libs/evoral/wscript')
-rw-r--r-- | libs/evoral/wscript | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/evoral/wscript b/libs/evoral/wscript index e6f1a8f8b8..f97096b329 100644 --- a/libs/evoral/wscript +++ b/libs/evoral/wscript @@ -71,9 +71,10 @@ def build(bld): libsmf.name = 'libsmf' libsmf.target = 'smf' libsmf.uselib = 'GLIB' - libsmf.cxxflags = [ '-fPIC' ] - libsmf.cflags = [ '-fPIC' ] libsmf.install_path = bld.env['LIBDIR'] + if bld.env['build_target'] != 'mingw': + libsmf.cxxflags = [ '-fPIC' ] + libsmf.cflags = [ '-fPIC' ] lib_source = ''' src/Control.cpp |