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>
This commit is contained in:
Jonathan McCrohan 2017-10-21 22:12:39 +01:00
parent 10473e43d2
commit 770ca2d401
1 changed files with 2 additions and 13 deletions

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