the attached patch fixes the build for baresip/restund. I have tested that
it builds OK against openwrt trunk r25370 for the architectures BCM947xx,
AR71xx and x86.



Signed-off-by: Alfred E. Heggestad <aeh at db.org>
---
Index: net/restund/Makefile
===================================================================
--- net/restund/Makefile        (revision 25370)
+++ net/restund/Makefile        (working copy)
@@ -28,6 +28,8 @@
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
+               LIBRE_MK=../re-$(PKG_VERSION)/mk/re.mk \
+               LIBRE_INC=../re-$(PKG_VERSION)/include \
                CC="$(TARGET_CC)" \
                EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
Index: net/baresip/Makefile
===================================================================
--- net/baresip/Makefile        (revision 25370)
+++ net/baresip/Makefile        (working copy)
@@ -28,6 +28,8 @@
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
+               LIBRE_MK=../re-$(PKG_VERSION)/mk/re.mk \
+               LIBRE_INC=../re-$(PKG_VERSION)/include \
                MOD_AUTODETECT= \
                USE_G711=1 USE_L16=1 \
                USE_STDIO=1 USE_CONS=1 USE_EVDEV=1 \
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to