From 66c0a4800c5050287a926fa3d63cffae0944d978 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 8 Jan 2021 00:51:14 -0800 Subject: [PATCH] tini: fix compilation with glibc Signed-off-by: Rosen Penev --- utils/tini/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/tini/Makefile b/utils/tini/Makefile index 8ba0d3aa1..c7ad5bc2a 100644 --- a/utils/tini/Makefile +++ b/utils/tini/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tini PKG_VERSION:=0.19.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -32,6 +32,7 @@ A tiny but valid init process for containers. endef CMAKE_OPTIONS += -DTINI_VERSION_GIT='$(TINI_COMMIT)' +TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh) define Package/tini/install $(INSTALL_DIR) $(1)/usr/bin