mono: fix libgdiplus finding

This commit is contained in:
宋文武 2014-03-26 20:41:11 +08:00 committed by Vladimír Čunát
parent cdadc70e5d
commit 0f65f11d6e

View file

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
find . -name 'config' -type f | while read i; do
sed -i "s@libMonoPosixHelper.so@$out/lib/libMonoPosixHelper.so@g" $i
sed -i "s@libX11.so.6@${libX11}/lib/libX11.so.6@g" $i
sed -i '2 i\<dllmap dll="gdiplus.dll" target="${libgdiplus}/lib/libgdiplus.so" os="!windows"/>' $i
sed -i "s@/.*libgdiplus.so@${libgdiplus}/lib/libgdiplus.so@g" $i
done
'';