Browse Source

Merge pull request #13393 from mhei/libiio

libiio: fix linker error when XML backend is not selected
lilik-openwrt-22.03
Michael Heimpold 4 years ago
committed by GitHub
parent
commit
232dd76e9f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libs/libiio/Makefile

+ 4
- 4
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:=2
PKG_RELEASE:=3
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)?
@ -78,9 +78,9 @@ config LIBIIO_USB_BACKEND
default n default n
config LIBIIO_XML_BACKEND config LIBIIO_XML_BACKEND
bool "Enable XML backend"
bool
depends on PACKAGE_libiio depends on PACKAGE_libiio
default n
default y
endef endef
define Package/libiio/description define Package/libiio/description
@ -101,7 +101,7 @@ define Package/iiod
CATEGORY:=Network CATEGORY:=Network
TITLE:=Linux IIO daemon TITLE:=Linux IIO daemon
URL:=https://github.com/analogdevicesinc/libiio URL:=https://github.com/analogdevicesinc/libiio
DEPENDS:=+libiio @LIBIIO_XML_BACKEND
DEPENDS:=+libiio
endef endef
define Package/iiod/description define Package/iiod/description


Loading…
Cancel
Save