mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
add PKG_CONFIG default in a few more places
These files use $PKG_CONFIG before they include the common files that setup a default, so set early defaults in them too. Signed-off-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
6db0f95dbf
commit
87ea13f6b7
2 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ LIB := libzdtmtst.a
|
|||
|
||||
LIBSRC := datagen.c msg.c parseargs.c test.c streamutil.c lock.c ns.c tcp.c unix.c fs.c sysctl.c
|
||||
|
||||
PKG_CONFIG ?= pkg-config
|
||||
pkg-config-check = $(shell sh -c '$(PKG_CONFIG) $(1) && echo y')
|
||||
ifeq ($(call pkg-config-check,libbpf),y)
|
||||
LIBSRC += bpfmap_zdtm.c
|
||||
|
|
|
|||
|
|
@ -241,6 +241,7 @@ TST_NOFILE := \
|
|||
sigtrap01 \
|
||||
# jobctl00 \
|
||||
|
||||
PKG_CONFIG ?= pkg-config
|
||||
pkg-config-check = $(shell sh -c '$(PKG_CONFIG) $(1) && echo y')
|
||||
ifeq ($(call pkg-config-check,libbpf),y)
|
||||
TST_NOFILE += \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue