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:
parent
11c8ca0a1a
commit
d2e1023d73
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user