Browse Source

sslh: simplify Makefile

Fixes bug where sslh was being linked against libconfig, but libconfig
CPPFLAGS were being ignored.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
lilik-openwrt-22.03
Jonathan McCrohan 7 years ago
parent
commit
770ca2d401
1 changed files with 2 additions and 13 deletions
  1. +2
    -13
      net/sslh/Makefile

+ 2
- 13
net/sslh/Makefile View File

@ -34,19 +34,8 @@ define Package/sslh/conffiles
/etc/sslh.conf
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
ENABLE_REGEX=1 \
USELIBCONFIG=1 \
USELIBWRAP= \
USELIBPCRE= \
$(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)\
all
endef
MAKE_FLAGS += \
$(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)
define Package/sslh/install
$(INSTALL_DIR) $(1)/usr/sbin


Loading…
Cancel
Save