From 588900a09bd10aaeffb3908ac0602503d60acf0e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 Apr 2009 12:20:47 +0000 Subject: [PATCH] add no-VST-on-x86_64 message to SConscript git-svn-id: svn://localhost/ardour2/branches/3.0@4990 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SConstruct b/SConstruct index 615cd9014d..ad19581cb7 100644 --- a/SConstruct +++ b/SConstruct @@ -776,6 +776,17 @@ if env['DIST_TARGET'] == 'x86_64': else: env['LIBDIR']='lib' +# +# no VST on x86_64 +# + +if env['DIST_TARGET'] == 'x86_64' and env['VST']: + print "\n\n==================================================" + print "You cannot use VST plugins with a 64 bit host. Please run scons with 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) + # # a single way to test if we're on OS X #