diff options
author | David Robillard <d@drobilla.net> | 2012-09-10 02:26:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-09-10 02:26:20 +0000 |
commit | 4d0d6e72ec5e38360c9864057216e5dc0d0aa1ea (patch) | |
tree | 2348cef718aba91f11f284aaa3a282c72ba79691 | |
parent | 20c385b41f948d58d3730eb1d8388ceb10881e8f (diff) | |
download | serd-4d0d6e72ec5e38360c9864057216e5dc0d0aa1ea.tar.gz serd-4d0d6e72ec5e38360c9864057216e5dc0d0aa1ea.tar.bz2 serd-4d0d6e72ec5e38360c9864057216e5dc0d0aa1ea.zip |
Use name instead of pattern mangling to add D suffix.
git-svn-id: http://svn.drobilla.net/serd/trunk@389 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rwxr-xr-x | waf | bin | 72631 -> 72374 bytes | |||
-rw-r--r-- | wscript | 7 |
2 files changed, 5 insertions, 2 deletions
Binary files differ @@ -122,10 +122,13 @@ def build(bld): libflags = ['-fvisibility=hidden'] libs = ['m'] defines = [] + lib_suff = '' if bld.env.MSVC_COMPILER: libflags = [] libs = [] defines = ['snprintf=_snprintf'] + if bld.env.DEBUG: + lib_suff = 'D' # Shared Library if bld.env.BUILD_SHARED: @@ -135,7 +138,7 @@ def build(bld): includes = ['.', './src'], lib = libs, name = 'libserd', - target = 'serd-%s' % SERD_MAJOR_VERSION, + target = 'serd-%s%s' % (SERD_MAJOR_VERSION, lib_suff), vnum = SERD_VERSION, install_path = '${LIBDIR}', defines = defines + ['SERD_SHARED', 'SERD_INTERNAL'], @@ -149,7 +152,7 @@ def build(bld): includes = ['.', './src'], lib = libs, name = 'libserd_static', - target = 'serd-%s' % SERD_MAJOR_VERSION, + target = 'serd-%s%s' % (SERD_MAJOR_VERSION, lib_suff), vnum = SERD_VERSION, install_path = '${LIBDIR}', defines = defines + ['SERD_INTERNAL']) |