From 34fa8c760566d29b03d5285330296084254e83a6 Mon Sep 17 00:00:00 2001 From: Andreia Gaita Date: Fri, 24 Jan 2014 01:17:36 +0100 Subject: [PATCH] Fix copying of files, rsync is more reliable (and preserves attributes) --- build_classlibs_osx.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_classlibs_osx.pl b/build_classlibs_osx.pl index dc56010919f..de724c44086 100644 --- a/build_classlibs_osx.pl +++ b/build_classlibs_osx.pl @@ -112,7 +112,7 @@ chdir ($root); $File::Copy::Recursive::CopyLink = 0; #make sure we copy files as files and not as symlinks, as TC unfortunately doesn't pick up symlinks. mkpath("$libmono/2.0"); -dircopy("$monoprefix/lib/mono/2.0","$libmono/2.0"); +system("rsync -aPL $monoprefix/lib/mono/2.0 $libmono/."); # system("rm $libmono/2.0/*.mdb"); mkpath("$libmono/micro"); system("cp $root/mcs/class/lib/monotouch/mscorlib.dll $libmono/micro") eq 0 or die("Failed to copy micro corlib"); -- GitLab