From 4eca36bb2388cd2b6b259b81316d07e41f3d9912 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 28 Nov 2012 15:37:56 +0000 Subject: [PATCH] conditionalize attempt to copy non-existent suil modules into OS X bundle git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13561 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/osx_packaging/osx_build | 7 +++++-- 1 file 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