liblo: disable tests and enable IPv6

Speeds up compilation.

Also fixed compilation without deprecated POSIX APIs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-09-12 19:02:17 -07:00
parent 21f5cdd2fa
commit 7276289795
3 changed files with 43 additions and 1 deletions
+8 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=liblo
PKG_VERSION:=0.30
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/liblo
@@ -45,6 +45,13 @@ $(call Package/liblo/Default)
DEPENDS:= +liblo
endef
CONFIGURE_ARGS += \
$(if $(CONFIG_IPV6),--enable,--disable)-ipv6 \
--enable-threads \
--disable-examples \
--disable-network-tests \
--disable-tests
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/lo $(1)/usr/include/