treewide: Make explicit that 'dev' output of sqlite is used
This commit is contained in:
committed by
Vladimír Čunát
parent
5a8ad2d7a8
commit
e80e4ba2bb
@@ -7,7 +7,7 @@ index b7e2fbf..5ff23db 100644
|
||||
|
||||
ifndef CROSSHOST
|
||||
- SQLITE_INCLUDE_DIR := /usr/include
|
||||
+ SQLITE_INCLUDE_DIR := ${sqlite}/include
|
||||
+ SQLITE_INCLUDE_DIR := ${sqlite.dev}/include
|
||||
else
|
||||
# This is totally wrong, works only with some old-style setups, and
|
||||
# on some architectures of Debian/new FHS multiarch -- excluding, for
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++"
|
||||
"SAVEDIR=~/.crawl" "sqlite=${sqlite}" ]
|
||||
"SAVEDIR=~/.crawl" "sqlite=${sqlite.dev}" ]
|
||||
++ stdenv.lib.optionals tileMode [ "TILES=y" "dejavu_fonts=${dejavu_fonts}" ];
|
||||
|
||||
postInstall = if tileMode then "mv $out/bin/crawl $out/bin/crawl-tiles" else "";
|
||||
|
||||
Reference in New Issue
Block a user