chiark / gitweb /
Build system: Fix ./build debian
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 10 Sep 2015 00:09:36 +0000 (00:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 10 Sep 2015 00:15:29 +0000 (00:15 +0000)
commita6ee925df67de60c1e0d9fe9a09318c775c43fd6
tree2827a4bc1745d0f6e66b8eda5ba3aed635ca0154
parent5f7dc3263bc2a286f1bc940c94c7e1b44c294076
Build system: Fix ./build debian

We need to -I and -L the build tree directories, not the directories
in /usr/local or wheveever.  Otherwise (a) the `./debian build' fails
if wiringPi is not installed (b) if it _is_ installed, the build picks
up the installed versions rather than the versions being built, which
is wrong.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
build