tini: fix compilation with glibc
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
dfa357be73
commit
66c0a4800c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue