diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-01-08 00:51:14 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-01-08 00:51:48 -0800 |
commit | 66c0a4800c5050287a926fa3d63cffae0944d978 (patch) | |
tree | 97f04876b42085b32e0d2a6a467fa025d8a8fa5b /utils/tini | |
parent | dfa357be7333c25a22211b4ac1683a23e2372cc4 (diff) |
tini: fix compilation with glibc
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/tini')
-rw-r--r-- | utils/tini/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |