Browse Source

Merge pull request #14705 from micmac1/iio-ico

libiio: allow access to iconv
lilik-openwrt-22.03
Michael Heimpold 4 years ago
committed by GitHub
parent
commit
274302a60f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      libs/libiio/Makefile

+ 4
- 2
libs/libiio/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libiio PKG_NAME:=libiio
PKG_VERSION:=0.21 PKG_VERSION:=0.21
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/analogdevicesinc/libiio/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/analogdevicesinc/libiio/tar.gz/v$(PKG_VERSION)?
@ -34,6 +34,7 @@ PKG_CONFIG_DEPENDS:= \
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk
include $(INCLUDE_DIR)/nls.mk
CMAKE_OPTIONS += -DWITH_DOC=OFF CMAKE_OPTIONS += -DWITH_DOC=OFF
CMAKE_OPTIONS += -DENABLE_IPV6=$(if $(CONFIG_IPV6),ON,OFF) CMAKE_OPTIONS += -DENABLE_IPV6=$(if $(CONFIG_IPV6),ON,OFF)
@ -55,7 +56,8 @@ define Package/libiio
+zlib \ +zlib \
+LIBIIO_USB_BACKEND:libusb-1.0 \ +LIBIIO_USB_BACKEND:libusb-1.0 \
+LIBIIO_NETWORK_BACKEND:libavahi-client \ +LIBIIO_NETWORK_BACKEND:libavahi-client \
+LIBIIO_XML_BACKEND:libxml2
+LIBIIO_XML_BACKEND:libxml2 \
$(ICONV_DEPENDS)
MENU:=1 MENU:=1
endef endef


Loading…
Cancel
Save