Merge pull request #7915 from obrakmann/fix7911_osx_freetype_lib_path

Fix path to freetype library in SharpFont's .dll mapping for OS X
This commit is contained in:
Matthias Mailänder
2015-04-12 12:50:25 +02:00

View File

@@ -41,7 +41,7 @@ if [ ! -f SharpFont.dll ]; then
echo "Fetching SharpFont from nuget" echo "Fetching SharpFont from nuget"
nuget install SharpFont -Version 2.5.0.1 nuget install SharpFont -Version 2.5.0.1
cp ./SharpFont.2.5.0.1/lib/net20/SharpFont* . cp ./SharpFont.2.5.0.1/lib/net20/SharpFont* .
cp ./SharpFont.2.5.0.1/Content/SharpFont.dll.config . sed '/osx/s@\(dll="\)[^"]*\(" />\)@\1/Library/Frameworks/Mono.framework/Libraries/libfreetype.6.dylib\2@' ./SharpFont.2.5.0.1/Content/SharpFont.dll.config > SharpFont.dll.config
rm -rf SharpFont.2.5.0.1 rm -rf SharpFont.2.5.0.1
fi fi