summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--wscript8
2 files changed, 10 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index ff04b1b..b4d8c2a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+suil (0.8.3) unstable;
+
+ * Configure based on compiler target OS for cross-compilation
+
+ -- David Robillard <d@drobilla.net> Sat, 04 Oct 2014 23:08:29 -0400
+
suil (0.8.2) stable;
* Fix embedding several Qt UIs in Gtk
diff --git a/wscript b/wscript
index d929c2f..fc28670 100644
--- a/wscript
+++ b/wscript
@@ -9,7 +9,7 @@ import waflib.extras.autowaf as autowaf
# major increment <=> incompatible changes
# minor increment <=> compatible changes (additions)
# micro increment <=> no interface changes
-SUIL_VERSION = '0.8.2'
+SUIL_VERSION = '0.8.3'
SUIL_MAJOR_VERSION = '0'
# Mandatory waf variables
@@ -89,7 +89,7 @@ def configure(conf):
module_ext = ''
if conf.env.PARDEBUG:
module_ext += 'D'
- if Options.platform == 'win32':
+ if conf.env.DEST_OS == 'win32':
module_ext += '.dll'
else:
module_prefix = 'lib'
@@ -122,7 +122,7 @@ def build(bld):
cflags = []
lib = []
modlib = []
- if sys.platform == 'win32':
+ if bld.env.DEST_OS == 'win32':
modlib += ['user32']
else:
cflags += ['-fvisibility=hidden']
@@ -195,7 +195,7 @@ def build(bld):
linkflags = bld.env.NODELETE_FLAGS)
autowaf.use_lib(bld, obj, 'GTK2 GTK2_X11 LV2 LV2_1_4_3')
- if bld.is_defined('HAVE_GTK2') and sys.platform == 'win32':
+ if bld.is_defined('HAVE_GTK2') and bld.env.DEST_OS == 'win32':
obj = bld(features = 'cxx cxxshlib',
source = 'src/win_in_gtk2.cpp',
target = 'suil_win_in_gtk2',