Adding libgdiplus for mono, and making mono reference it.
svn path=/nixpkgs/trunk/; revision=31276
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl}:
|
||||
{stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mono-2.10.8.1";
|
||||
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0h4hdj99qg0nsg5260izwaybs59wysf7y399kffhg43fidpndz0x";
|
||||
};
|
||||
|
||||
buildInputs = [bison pkgconfig glib gettext perl];
|
||||
buildInputs = [bison pkgconfig glib gettext perl libgdiplus];
|
||||
propagatedBuildInputs = [glib];
|
||||
|
||||
NIX_LDFLAGS = "-lgcc_s" ;
|
||||
@@ -15,6 +15,8 @@ stdenv.mkDerivation {
|
||||
# To overcome the bug https://bugzilla.novell.com/show_bug.cgi?id=644723
|
||||
dontDisableStatic = true;
|
||||
|
||||
configureFlags = "--with-libgdiplus=${libgdiplus}/lib/libgdiplus.so";
|
||||
|
||||
# Attempt to fix this error when running "mcs --version":
|
||||
# The file /nix/store/xxx-mono-2.4.2.1/lib/mscorlib.dll is an invalid CIL image
|
||||
dontStrip = true;
|
||||
|
||||
Reference in New Issue
Block a user