3
0
Fork 0
forked from mirrors/nixpkgs

heme: fix build by using -lncurses (ZHF)

This commit is contained in:
Pascal Wittmann 2015-07-09 12:57:41 +02:00
parent b847dec4a0
commit 6d32ae415a

View file

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile \
--replace "/usr/local" "$out" \
--replace "CFLAGS = " "CFLAGS = -I${ncurses}/include " \
--replace "LDFLAGS = " "LDFLAGS = -L${ncurses}/lib "
--replace "LDFLAGS = " "LDFLAGS = -L${ncurses}/lib " \
--replace "-lcurses" "-lncurses"
'';
preBuild = ''
mkdir -p $out/bin