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:
parent
10473e43d2
commit
770ca2d401
1 changed files with 2 additions and 13 deletions
|
@ -34,19 +34,8 @@ define Package/sslh/conffiles
|
||||||
/etc/sslh.conf
|
/etc/sslh.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
MAKE_FLAGS += \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(if $(CONFIG_USE_GLIBC),USELIBPCRE=,USELIBPCRE=1)
|
||||||
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
|
|
||||||
|
|
||||||
define Package/sslh/install
|
define Package/sslh/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
|
Loading…
Reference in a new issue