crawl: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-24 17:09:44 +03:00
parent e9f62d890c
commit 58f532216f
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ index b7e2fbf..5ff23db 100644
ifndef CROSSHOST
- SQLITE_INCLUDE_DIR := /usr/include
+ SQLITE_INCLUDE_DIR := ${sqlite.dev}/include
+ SQLITE_INCLUDE_DIR := ${sqlite}/include
else
# This is totally wrong, works only with some old-style setups, and
# on some architectures of Debian/new FHS multiarch -- excluding, for

View File

@ -30,6 +30,7 @@ stdenv.mkDerivation rec {
patchShebangs $i
done
patchShebangs util/gen-mi-enum
rm -rf contrib
'';
makeFlags = [ "prefix=$(out)" "FORCE_CC=gcc" "FORCE_CXX=g++" "HOSTCXX=g++"