mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
build: Show a note when building wihout libbsd
Show a note that when libbsd is not installed CRIU is compiled without setproctitle() and strlcpy() support. Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com> Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
64c6e29591
commit
556223a646
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@ include scripts/feature-tests.mak
|
|||
ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true)
|
||||
LIBS_FEATURES += -lbsd
|
||||
FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD
|
||||
else
|
||||
$(info Note: Building without setproctitle() and strlcpy() support.)
|
||||
$(info $(info) To enable these features, please install libbsd-devel (RPM) / libbsd-dev (DEB).)
|
||||
endif
|
||||
|
||||
ifeq ($(call pkg-config-check,libselinux),y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue