Merge pull request #14438 from neheb/tini

tini: fix compilation with glibc
This commit is contained in:
Rosen Penev 2021-01-08 01:17:37 -08:00 committed by GitHub
commit 66c9dd3076
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tini PKG_NAME:=tini
PKG_VERSION:=0.19.0 PKG_VERSION:=0.19.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE PKG_LICENSE_FILES:=LICENSE
@ -32,6 +32,7 @@ A tiny but valid init process for containers.
endef endef
CMAKE_OPTIONS += -DTINI_VERSION_GIT='$(TINI_COMMIT)' CMAKE_OPTIONS += -DTINI_VERSION_GIT='$(TINI_COMMIT)'
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lc -lgcc_eh)
define Package/tini/install define Package/tini/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin