diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-28 15:37:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-28 15:37:56 +0000 |
commit | 4eca36bb2388cd2b6b259b81316d07e41f3d9912 (patch) | |
tree | cf0cae849e0c19c38e13455cc6b5b12a051c3802 | |
parent | 3f547aff6047d543e2a6364606b85f0eb8f52a06 (diff) |
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
-rwxr-xr-x | tools/osx_packaging/osx_build | 7 |
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 |