summaryrefslogtreecommitdiff
path: root/tools/osx_packaging/osx_build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx_packaging/osx_build')
-rwxr-xr-xtools/osx_packaging/osx_build7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index c9379e4bd7..7b9c3aea91 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -343,8 +343,11 @@ mv $Surfaces/libardour_cp*.dylib $Frameworks
# VAMP plugins that we use
cp $BUILD_ROOT/libs/vamp-plugins/libardourvampplugins.dylib $Frameworks
-# Suil modules
-cp $ARDOURSTACK_ROOT/lib/suil-0/lib* $Frameworks
+# SUIL modules are all dynamically loaded, but on OS X there may or may not
+# be any (as of November 2012, there are none for OS X)
+if [ -d $ARDOURSTACKROOT/lib/suil-0 -a `ls $ARDOURSACK_ROOT/lib/suil-0/lib* 2>/dev/null | wc -l` -gt 0 ] ; then
+ cp $ARDOURSTACK_ROOT/lib/suil-0/lib* $Frameworks
+fi
while [ true ] ; do
missing=false