ncurses: Fix includedir in the pkgconfig referencing ${out}
This commit is contained in:
parent
bdd88582e3
commit
fb0bc10de4
1 changed files with 1 additions and 1 deletions
|
@ -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 ''
|
||||
|
|
Loading…
Reference in a new issue