From 2b76b454da7a34828985f93bdf92e115a86630b6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 04:06:32 +0000 Subject: Fix Windows static build. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4637 a436a847-0d15-0410-975c-d299462d15a1 --- src/world.c | 2 +- wscript | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/world.c b/src/world.c index 96cb247..e5aeb31 100644 --- a/src/world.c +++ b/src/world.c @@ -705,7 +705,7 @@ lilv_world_load_plugin_classes(LilvWorld* world) LilvPluginClass* pclass = lilv_plugin_class_new( world, parent_node, class_node, (const char*)label); if (pclass) { - zix_tree_insert(world->plugin_classes, pclass, NULL); + zix_tree_insert((ZixTree*)world->plugin_classes, pclass, NULL); } } sord_iter_free(classes); diff --git a/wscript b/wscript index 8681b15..cccdb4e 100644 --- a/wscript +++ b/wscript @@ -311,7 +311,8 @@ def build(bld): if not bld.env.BUILD_SHARED or bld.env.STATIC_PROGS: obj.use = 'liblilv_static' if bld.env.STATIC_PROGS: - obj.lib = ['m'] + if not bld.env.MSVC_COMPILER: + obj.lib = ['m'] obj.env.SHLIB_MARKER = obj.env.STLIB_MARKER obj.linkflags = ['-static', '-Wl,--start-group'] -- cgit v1.2.1