ncurses: Fix includedir in the pkgconfig referencing ${out}
This commit is contained in:
parent
bdd88582e3
commit
fb0bc10de4
@ -25,12 +25,12 @@ stdenv.mkDerivation rec {
|
|||||||
"--without-debug"
|
"--without-debug"
|
||||||
"--enable-pc-files"
|
"--enable-pc-files"
|
||||||
"--enable-symlinks"
|
"--enable-symlinks"
|
||||||
"--includedir=\${out}/include"
|
|
||||||
] ++ lib.optional unicode "--enable-widec";
|
] ++ lib.optional unicode "--enable-widec";
|
||||||
|
|
||||||
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
configureFlagsArray+=("--includedir=$out/include")
|
||||||
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
|
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
|
||||||
mkdir -p "$PKG_CONFIG_LIBDIR"
|
mkdir -p "$PKG_CONFIG_LIBDIR"
|
||||||
'' + lib.optionalString stdenv.isCygwin ''
|
'' + lib.optionalString stdenv.isCygwin ''
|
||||||
|
Loading…
Reference in New Issue
Block a user