3
0
Fork 0
forked from mirrors/nixpkgs

ncurses: Fix includedir in the pkgconfig referencing ${out}

This commit is contained in:
William A. Kennington III 2015-06-22 23:45:10 -07:00
parent bdd88582e3
commit fb0bc10de4

View file

@ -25,12 +25,12 @@ stdenv.mkDerivation rec {
"--without-debug"
"--enable-pc-files"
"--enable-symlinks"
"--includedir=\${out}/include"
] ++ lib.optional unicode "--enable-widec";
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
preConfigure = ''
configureFlagsArray+=("--includedir=$out/include")
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
mkdir -p "$PKG_CONFIG_LIBDIR"
'' + lib.optionalString stdenv.isCygwin ''