From 433a1c0a3d8938b14bebaa324efc4f556484b0fb Mon Sep 17 00:00:00 2001 From: ElonH Date: Sat, 21 Mar 2020 18:55:45 +0800 Subject: [PATCH] tmate: link openwrt's libssh instead of system --- package/ctcgfw/tmate/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/ctcgfw/tmate/Makefile b/package/ctcgfw/tmate/Makefile index 9fcf340ea0..5936b881c1 100644 --- a/package/ctcgfw/tmate/Makefile +++ b/package/ctcgfw/tmate/Makefile @@ -40,6 +40,10 @@ define Package/$(PKG_NAME) DEPENDS:=+libpthread +libevent2 +libssh +libmsgpack-c +libncurses endef +CONFIGURE_ARGS+=--oldincludedir=$(STAGING_DIR) + +CONFIGURE_VARS+=LIBSSH_CFLAGS="-I$(STAGING_DIR)/usr/include " LIBSSH_LIBS="-lssh" + define Package/$(PKG_NAME)/description Tmate is a fork of tmux. It provides an instant pairing solution. endef