diff options
Diffstat (limited to 'tools/osx_packaging/app_build.rb')
-rwxr-xr-x | tools/osx_packaging/app_build.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/osx_packaging/app_build.rb b/tools/osx_packaging/app_build.rb index d566e2a093..452ba3988e 100755 --- a/tools/osx_packaging/app_build.rb +++ b/tools/osx_packaging/app_build.rb @@ -53,6 +53,10 @@ if not File.exist?(libdir+"/surfaces") then Dir.mkdir(libdir + "/surfaces") end +if not File.exist?(libdir+"/vamp-plugins") then + Dir.mkdir(libdir + "/vamp-plugins") +end + odir = Dir.getwd Dir.chdir("../..") @@ -67,6 +71,9 @@ results = results + result.split("\n").slice(1,result.size-1) result = `otool -L libs/surfaces/*/*.dylib` results = results + result.split("\n").slice(1,result.size-1) +result = `otool -L libs/vamp-plugins/*.dylib` +results = results + result.split("\n").slice(1,result.size-1) + results.uniq! $stdout.print("Copying libs to #{libdir} ...\n"); @@ -117,6 +124,9 @@ begin rescue end +# vamp plugins +`cp ../../libs/vamp-plugins/*.dylib #{libdir}/vamp-plugins` + # copy gtk and pango lib stuff `cp -R /opt/local/lib/pango #{libdir}/` |