forked from mirrors/nixpkgs
heme: fix build by using -lncurses (ZHF)
This commit is contained in:
parent
b847dec4a0
commit
6d32ae415a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue