rtpproxy doesn't use OpenWrt's CPPFLAGS (i.e. used for including
fortify-source headers). Add them to CFLAGS.
Run autoreconf. It's usually a good idea.
Signed-off-by: Sebastian Kemper <[email protected]>
PKG_CHECK_FORMAT_SECURITY:=0
PKG_INSTALL:=1
+PKG_FIXUP:=autoreconf
+
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=COPYING
CONFIGURE_VARS += \
ac_cv_lib_bcg729_initBcg729EncoderChannel=no
+# Otherwise OpenWrt's CPPFLAGS are ignored
+TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
+
define Package/rtpproxy/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/