Skip to contentSkip to conversation

package/cups-filters: fix build with missing iconv

PATCH New Vadim Kochan 1 participant 1 message Jul 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/cups-filters: fix build with missing iconv

Link with libiconv if BR2_PACKAGE_LIBICONV was selected.

Fixes:

	https://bugs.busybox.net/show_bug.cgi?id=12031
---
 package/cups-filters/cups-filters.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/cups-filters/cups-filters.mk +4 -0
index 214647a90e..26a94507f3 100644
@@ -71,4 +71,8 @@ else
 CUPS_FILTERS_CONF_OPTS += --disable-poppler
 endif
 
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+CUPS_FILTERS_CONF_ENV += LIBS=-liconv
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.22.0