blob: 3f39ef63f82fa5ce0c1eceb0090e4a8c2b40515f [file] [log] [blame]
diff --git a/criu/Makefile.config b/criu/Makefile.config
index aaaca1f..e977bcd 100644
--- a/criu/Makefile.config
+++ b/criu/Makefile.config
@@ -4,10 +4,12 @@ include ../scripts/feature-tests.mak
CONFIG_HEADER := include/config.h
+ifeq ($(SETPROCTITLE),yes)
ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),y)
LIBS += -lbsd
DEFINES += -DCONFIG_HAS_LIBBSD
endif
+endif
ifeq ($(call pkg-config-check,libselinux),y)
LIBS += -lselinux