--- src/Makevars.orig	2022-03-29 11:38:11.262281658 +0200
+++ src/Makevars	2022-03-29 11:38:30.066422599 +0200
@@ -2,6 +2,7 @@
 PKG_CPPFLAGS = -Iunix -I.
 PKG_CFLAGS = $(C_VISIBILITY)
 PKG_CXXFLAGS = $(CXX_VISIBILITY)
+PKG_LIBS = -liconv
 
 SOURCES = cpp11.cpp XlsWorkBook.cpp XlsxWorkBook.cpp zip.cpp Read.cpp
 OBJECTS = $(SOURCES:.cpp=.o) cran.o libxls/xlstool.o libxls/endian.o libxls/ole.o libxls/xls.o libxls/locale.o
