From bdfddec6fc45b9570d1f3fc03182f4166187c52c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Dec 2015 20:22:02 +0100 Subject: more hot wine. --- gtk2_ardour/wscript | 1 + libs/fst/wscript | 1 + wscript | 7 +++---- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index b660a0e742..6f1258f6ac 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -436,6 +436,7 @@ def build(bld): obj.includes = [ '../libs/fst', '.' ] obj.name = 'libgtk2_ardour' obj.target = 'gtk2_ardour' + obj.cflags = [ '-fPIC' ] else: # just the normal executable version of the GTK GUI diff --git a/libs/fst/wscript b/libs/fst/wscript index 76e0b934e3..9fe165ca9e 100644 --- a/libs/fst/wscript +++ b/libs/fst/wscript @@ -66,6 +66,7 @@ def build(bld): obj.target = 'ardour-vst-scanner.exe.so' obj.uselib = ['GIOMM', 'DL'] obj.use = [ 'libpbd' ] + obj.cxxflags = [ '-fPIC' ] else: obj = bld (features = 'cxx c cxxprogram') obj.source = ( 'scanner.cc' ) diff --git a/wscript b/wscript index a98adf7e95..2c0c6a7193 100644 --- a/wscript +++ b/wscript @@ -490,10 +490,9 @@ int main() { return 0; }''', if conf.env['build_target'] == 'x86_64' and opt.windows_vst: print("\n\n==================================================") - print("You cannot use VST plugins with a 64 bit host. Please run waf with --windows-vst=0") - print("\nIt is theoretically possible to build a 32 bit host on a 64 bit system.") - print("However, this is tricky and not recommended for beginners.") - sys.exit (-1) + print("64bit Windows VST support on 64bit Linux is experimental." + print("(This version of ardour will not load 32bit VSTs)" + print("==================================================\n\n") if conf.env['LXVST_SUPPORT'] == True: if conf.env['build_target'] == 'x86_64': -- cgit v1.2.3