tests/libsubid/04_nss: fix setting basedir
Align on variable name BUILD_BASE_DIR for overriding the toplevel directory. This is the same name as accepted by tests/common/config.sh. Without this, the test libsubid/04_nss fails in Debian's autopkgtests. Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
This commit is contained in:
committed by
Serge Hallyn
parent
34f213211f
commit
11e9627658
@@ -1,7 +1,7 @@
|
||||
all: test_nss libsubid_zzz.so
|
||||
|
||||
BASE_TEST_DIR ?= $(shell git rev-parse --show-toplevel)
|
||||
basedir := $(BASE_TEST_DIR)
|
||||
BUILD_BASE_DIR ?= $(shell git rev-parse --show-toplevel)
|
||||
basedir := $(BUILD_BASE_DIR)
|
||||
|
||||
test_nss: test_nss.c $(basedir)/lib/nss.c
|
||||
gcc -c -I$(basedir)/lib/ -I$(basedir) -o test_nss.o test_nss.c
|
||||
|
||||
Reference in New Issue
Block a user