summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-04-17 12:20:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-04-17 12:20:47 +0000
commit588900a09bd10aaeffb3908ac0602503d60acf0e (patch)
treefb32583b7fd62ac456efe277781f49aa01315ec2 /SConstruct
parented1fa35774352a5941c515adffac0d4b82018ea0 (diff)
add no-VST-on-x86_64 message to SConscript
git-svn-id: svn://localhost/ardour2/branches/3.0@4990 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct11
1 files changed, 11 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 615cd9014d..ad19581cb7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -777,6 +777,17 @@ 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
#