summaryrefslogtreecommitdiff
path: root/tools/luadevel
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-11 22:19:25 +0200
committerRobin Gareus <robin@gareus.org>2016-04-11 22:19:25 +0200
commit8002b2d26e0191ec562fe2f5f2f42f51b03e9c30 (patch)
tree809a2cda6bf4adb7c535ab9cb31fc948ca4d4519 /tools/luadevel
parent4eba3869feab704aaacbc3aee30407beedb128f2 (diff)
special case luabridge for windows/MSVC
luabridge uses static fn addresses to identify classes. Windows uses different addresses for *identical* static functions in libardour.dll and ardour.exe This solves the issue by moving the all functions from a header-only implementation into libardour.
Diffstat (limited to 'tools/luadevel')
-rwxr-xr-xtools/luadevel/wscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/luadevel/wscript b/tools/luadevel/wscript
index 5f5b46b5d1..3190380091 100755
--- a/tools/luadevel/wscript
+++ b/tools/luadevel/wscript
@@ -33,13 +33,14 @@ def build(bld):
if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw':
return
+ if bld.env['build_target'] != 'mingw':
# TEST/DEVEL TOOL #######################
- obj = bld (features = 'cxx c cxxprogram')
- obj.source = 'devel.cc'
- obj.target = 'devel'
- obj.uselib = ['SIGCPP', 'READLINE']
- obj.use = ['liblua']
- obj.install_path = None
+ obj = bld (features = 'cxx c cxxprogram')
+ obj.source = 'devel.cc'
+ obj.target = 'devel'
+ obj.uselib = ['SIGCPP', 'READLINE']
+ obj.use = ['liblua']
+ obj.install_path = None
#########################################
# commandline luasession wrapper