mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
+2
-13
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user