fix ncurses pkgconfig path a final time
This commit is contained in:
parent
26da697f73
commit
d28e5f1c61
@ -30,7 +30,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
|
||||||
|
|
||||||
preConfigure = lib.optionalString stdenv.isCygwin ''
|
preConfigure = ''
|
||||||
|
export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
|
||||||
|
mkdir -p "$PKG_CONFIG_LIBDIR"
|
||||||
|
'' + lib.optionalString stdenv.isCygwin ''
|
||||||
sed -i -e 's,LIB_SUFFIX="t,LIB_SUFFIX=",' configure
|
sed -i -e 's,LIB_SUFFIX="t,LIB_SUFFIX=",' configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -40,11 +43,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
# The install expects the pkgconfig directory to exist in 5.9
|
|
||||||
preInstall = ''
|
|
||||||
mkdir -p "$out/lib/pkgconfig"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# When building a wide-character (Unicode) build, create backward
|
# When building a wide-character (Unicode) build, create backward
|
||||||
# compatibility links from the the "normal" libraries to the
|
# compatibility links from the the "normal" libraries to the
|
||||||
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
# wide-character libraries (e.g. libncurses.so to libncursesw.so).
|
||||||
|
Loading…
Reference in New Issue
Block a user