Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2014-11-18 14:42:15 +0300
committerAlan McGovern <alan@xamarin.com>2014-11-18 14:43:21 +0300
commit0a388b13949660807da873666bd8a52842e354b4 (patch)
tree877175e4870b4daf8205fb9edcbc225bbc302b7f
parent431faa12791c1ee0e222fcefcf64546594001152 (diff)
[build] Copy libxammac.dylib locally too
It's the sanest approach as Xamarin.Mac.dll and libxammac go hand in hand. If we local copy one we should local copy the other.
-rw-r--r--.gitignore1
-rw-r--r--main/external/Makefile.am2
-rw-r--r--main/src/addins/MacPlatform/MacPlatform.csproj2
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 387ebb5c8c..81d1acc11c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,6 +57,7 @@ Thumbs.db
*.app
/main/build/MacOSX/render.exe
/main/external/Xamarin.Mac.dll*
+/main/external/libxammac.dylib
# Autogenerated stuff
/local-config/
diff --git a/main/external/Makefile.am b/main/external/Makefile.am
index 35dcd41745..9bc7771c80 100644
--- a/main/external/Makefile.am
+++ b/main/external/Makefile.am
@@ -11,10 +11,12 @@ all: Xamarin.Mac.dll
Xamarin.Mac.dll: /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/i386/full/Xamarin.Mac.dll
cp -p $< $@
cp -p $<.mdb $@.mdb
+ cp -p /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib .
clean:
$(MAKE) -C monomac/src clean
rm -f Xamarin.Mac.dll*
+ rm -f libxammac.dylib
endif
install:
diff --git a/main/src/addins/MacPlatform/MacPlatform.csproj b/main/src/addins/MacPlatform/MacPlatform.csproj
index 7335416315..b2130c80a9 100644
--- a/main/src/addins/MacPlatform/MacPlatform.csproj
+++ b/main/src/addins/MacPlatform/MacPlatform.csproj
@@ -149,7 +149,7 @@
<Folder Include="MacMenu\" />
</ItemGroup>
<ItemGroup>
- <LibXammac Include = "/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib" />
+ <LibXammac Include = "..\..\..\external\libxammac.dylib" />
</ItemGroup>
<Target Name="AfterBuild">
<Copy SourceFiles="@(LibXammac)" DestinationFiles="$(OutputPath)\libxammac.dylib" SkipUnchangedFiles="true" />