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
This commit is contained in:
Paul Davis 2012-11-28 15:37:56 +00:00
parent 3f547aff60
commit 4eca36bb23

View file

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