gobjectIntrospection: fix build on darwin (close #832)

vcunat edit: SANE_MALLOC_PROTOS is gone, removing the handling
https://git.gnome.org/browse/glib/commit/?id=518e3104bf6cdb5d8e6b43d3b721805db5951139
This commit is contained in:
Jason \"Don\" O'Conal 2013-08-15 13:39:35 +10:00 committed by Vladimír Čunát
parent 11c8ca0a1a
commit d2e1023d73

View file

@ -46,13 +46,6 @@ stdenv.mkDerivation rec {
preConfigure = "autoreconf -fi";
configureFlags = "--with-pcre=system --disable-fam";
postConfigure =
optionalString stdenv.isDarwin (''
sed '24 i #include <Foundation/Foundation.h>'
'' + /* Disable the NeXTstep back-end because stdenv.gcc doesn't support Objective-C. */ ''
sed -i configure -e's/glib_have_cocoa=yes/glib_have_cocoa=no/g'
'');
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-lintl";
enableParallelBuilding = true;