libiio: fix linker error when XML backend is not selected 13393/head
authorMichael Heimpold <mhei@heimpold.de>
Mon, 14 Sep 2020 19:49:14 +0000 (21:49 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Mon, 14 Sep 2020 19:49:43 +0000 (21:49 +0200)
commitc16abfb3b5d535056ff151e0352b5ca13bf77057
tree01418715dee83ffa67a2db025c2345e4d2457bc6
parent749e182ca18ee542e4c1a6634980c3289e15a737
libiio: fix linker error when XML backend is not selected

It seems to be an upstream bug which prevents linking when XML backend
is not selected:
../libiio.so.0.21: undefined reference to `encode_xml_ndup'

Until this is clarified with upstream, prevent OpenWrt users from
deselecting the XML backend. This increases the footprint of this
package, but renders it usable again.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
libs/libiio/Makefile