3
0
Fork 0
forked from mirrors/nixpkgs

root: Fix libc dev reference

This commit is contained in:
Tuomas Tynkkynen 2016-08-31 12:37:13 +03:00
parent 307f7efcc9
commit b87a2245b1

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
]
++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include";
++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.lib.getDev stdenv.cc.libc}/include";
enableParallelBuilding = true;