summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-03-26 17:06:30 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-03-26 17:06:30 +0000
commit891e6ad472a95f6b1e033503111c6c594152df34 (patch)
treefc834ce579667df08d9f4018b3c32ffb50662858
parent016dd8cded2b36411b525b53d12d4dbf76bd84ea (diff)
prevent VST build on DIST_TARGET=x86_64
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4906 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--SConstruct12
1 files changed, 12 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 952b641e1e..fa775f57c5 100644
--- a/SConstruct
+++ b/SConstruct
@@ -751,6 +751,18 @@ 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."
+ print "Recompile with the DIST_TARGET=i386 or DIST_TARGET=i686."
+ print "\nPlease be aware that this will only work if your system"
+ print " is setup with 32 bit versions of all the required libraries."
+ sys.exit (-1)
+
+#
# a single way to test if we're on OS X
#