Browse Source

Merge pull request #15847 from neheb/assh

autossh: fix compilation without ssh installed
lilik-openwrt-22.03
Rosen Penev 3 years ago
committed by GitHub
parent
commit
237397d3af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      net/autossh/Makefile

+ 3
- 7
net/autossh/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=autossh
PKG_VERSION:=1.4g
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=https://www.harding.motd.ca/autossh/
@ -27,12 +27,8 @@ define Package/autossh
SUBMENU:=SSH
endef
define Build/Compile
$(call Build/Compile/Default, -f Makefile \
CFLAGS="$(TARGET_CFLAGS) -Wall -D\"SSH_PATH=\\\"\$$$$(SSH)\\\"\" -D\"VER=\\\"\$$$$(VER)\\\"\"" \
all \
)
endef
CONFIGURE_VARS += \
ac_cv_path_ssh=/usr/bin/ssh
define Package/autossh/install
$(INSTALL_DIR) $(1)/usr/sbin


Loading…
Cancel
Save