Revert "glib: fix compilation on SmartOS/Illumos (close #12477)"
This reverts commit3f9ff30f6d
. Let's go without changing hash instead:e67717bc8d
This commit is contained in:
parent
3f9ff30f6d
commit
a7ca9c2105
@ -68,17 +68,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
optional stdenv.isDarwin "--disable-compile-warnings"
|
||||
++ optional (stdenv.isFreeBSD || stdenv.isSunOS) "--with-libiconv=gnu"
|
||||
++ optional stdenv.isSunOS "--disable-dtrace";
|
||||
++ optional stdenv.isFreeBSD "--with-libiconv=gnu"
|
||||
++ optional stdenv.isSunOS ["--disable-modular-tests" "--with-libiconv"];
|
||||
|
||||
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl"
|
||||
+ optionalString stdenv.isSunOS " -DBSD_COMP";
|
||||
|
||||
preConfigure = optionalString stdenv.isSunOS
|
||||
''
|
||||
sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
|
||||
'';
|
||||
|
||||
preBuild = optionalString stdenv.isDarwin
|
||||
''
|
||||
export MACOSX_DEPLOYMENT_TARGET=
|
||||
|
Loading…
Reference in New Issue
Block a user