diff options
author | therzok <marius.ungureanu@xamarin.com> | 2017-05-30 16:02:00 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2017-06-01 18:40:48 +0300 |
commit | 576c5b60c0c0fb17ebc9cecd078de220c98618c7 (patch) | |
tree | 4b14ee653dd2b2339f59949f8b8a884d9da40447 /main/external/Makefile.am | |
parent | 50577a7bd4aff77345b703ace23fed63586c0dc3 (diff) |
[Mac] Use static registrar
This commit introduces the Xamarin.Mac partial static registrar. This means that all the bindings done in Xamarin.Mac
are pre-registered via the statically linked registrar.
NSApplication.Init now takes ~950ms, compared to ~2300ms previously.
Diffstat (limited to 'main/external/Makefile.am')
-rw-r--r-- | main/external/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/external/Makefile.am b/main/external/Makefile.am index 407f972f56..fee9246166 100644 --- a/main/external/Makefile.am +++ b/main/external/Makefile.am @@ -11,6 +11,7 @@ all: Xamarin.Mac.dll Xamarin.Mac.dll: /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/@MAC_ARCHITECTURE@/full/Xamarin.Mac.dll cp -p $< $@ cp -p $<.mdb $@.mdb + cp -p /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mmp/Xamarin.Mac.registrar.full.a . cp -p /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib . clean: |