summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-06 21:16:03 +0000
committerDavid Robillard <d@drobilla.net>2012-04-06 21:16:03 +0000
commit807b92ca7157d0de52a010ca23e6587e5ac4b641 (patch)
tree20e282bb01fe06df782bb72831d52dff70462134 /wscript
parenta8f6cb4e48371ace96a462134b72798020bdfee5 (diff)
downloadlilv-807b92ca7157d0de52a010ca23e6587e5ac4b641.tar.gz
lilv-807b92ca7157d0de52a010ca23e6587e5ac4b641.tar.bz2
lilv-807b92ca7157d0de52a010ca23e6587e5ac4b641.zip
Fix compilation on Windows.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4150 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index e6d759f..21d0fff 100644
--- a/wscript
+++ b/wscript
@@ -193,8 +193,9 @@ def build(bld):
lib = ['dl']
libflags = ['-fvisibility=hidden']
defines = []
+ if sys.platform == 'win32':
+ lib = []
if bld.env['MSVC_COMPILER']:
- lib = []
libflags = []
defines = ['snprintf=_snprintf']
elif sys.platform.find('bsd') > 0: