libre: Use 'dev' output of libc

This commit is contained in:
Tuomas Tynkkynen 2016-08-30 16:30:24 +03:00
parent c4521aeffa
commit 7259f80577

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
''PREFIX=$(out)'' ''PREFIX=$(out)''
] ]
++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}" ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.cc.libc}" ++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
; ;
meta = { meta = {
homepage = "http://www.creytiv.com/re.html"; homepage = "http://www.creytiv.com/re.html";