[CRIU] [PATCH] build: Show a note when building wihout libbsd
Andrei Vagin
avagin at gmail.com
Wed Jan 9 09:25:00 MSK 2019
Applied, thanks!
On Fri, Jan 04, 2019 at 06:30:29PM +0000, Radostin Stoyanov wrote:
> Show a note that when libbsd is not installed CRIU is compiled without
> setproctitle() and strlcpy() support.
>
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
> Makefile.config | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Makefile.config b/Makefile.config
> index 0e557805c..d89ccbb1a 100644
> --- a/Makefile.config
> +++ b/Makefile.config
> @@ -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)
> --
> 2.20.1
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list