add no-VST-on-x86_64 message to SConscript

git-svn-id: svn://localhost/ardour2/branches/3.0@4990 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2009-04-17 12:20:47 +00:00
parent ed1fa35774
commit 588900a09b

View File

@@ -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
#