diff options
author | therzok <marius.ungureanu@xamarin.com> | 2018-02-15 15:05:49 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2018-02-15 15:05:49 +0300 |
commit | 8c9f7476ffead1aab923df9b6848572abc9bd11b (patch) | |
tree | ea51103b7ae1d54bd24e780fa519e3a2a4d86e6c /main/external/Makefile.am | |
parent | d055f0d8ba1ad4040dd1067ce5362b20455b6cfc (diff) |
[Mac] Add back support for debugging from the IDE.
This loads libxammac.dylib from the external directory, so we don't copy it to the main directory, because make run would then load 2 xammac native libs in memory and conflict on where it will load types from
Diffstat (limited to 'main/external/Makefile.am')
-rw-r--r-- | main/external/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/external/Makefile.am b/main/external/Makefile.am index 28249b5b21..b3d37ce3be 100644 --- a/main/external/Makefile.am +++ b/main/external/Makefile.am @@ -5,7 +5,7 @@ all: clean: if ENABLE_MACPLATFORM -all: Xamarin.Mac.dll Xamarin.Mac.registrar.full.a libxammac-system.a +all: Xamarin.Mac.dll Xamarin.Mac.registrar.full.a libxammac-system.a libxammac.dylib $(MAKE) -C monomac/src Xamarin.Mac.dll: $(XAMMAC_PATH)/@MAC_ARCHITECTURE@/full/Xamarin.Mac.dll @@ -18,6 +18,9 @@ Xamarin.Mac.registrar.full.a: $(XAMMAC_PATH)/mmp/Xamarin.Mac.registrar.full.a libxammac-system.a: $(XAMMAC_PATH)/libxammac-system.a cp -p $< $@ +libxammac.dylib: $(XAMMAC_PATH)/libxammac.dylib + cp -p $< $@ + clean: $(MAKE) -C monomac/src clean rm -f Xamarin.Mac.Registrar.full.a |