glib-networking: Fix Darwin support

This commit is contained in:
Väinö Järvelä 2018-02-23 20:36:19 +02:00
parent 6166507ca5
commit e9ef15c322

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt";
LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
preBuild = ''
sed -e "s@${glib.out}/lib/gio/modules@$out/lib/gio/modules@g" -i $(find . -name Makefile)
'';