diff options
-rw-r--r-- | package/mtools/mtools.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mtools/mtools.mk b/package/mtools/mtools.mk index 4880245e25..864932507e 100644 --- a/package/mtools/mtools.mk +++ b/package/mtools/mtools.mk @@ -12,5 +12,11 @@ MTOOLS_LICENSE_FILES = COPYING MTOOLS_CONF_ENV = ac_cv_func_setpgrp_void=yes MTOOLS_CONF_OPT = --without-x +# link with iconv if enabled +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MTOOLS_DEPENDENCIES += libiconv +MTOOLS_CONF_ENV += LIBS=-liconv +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package)) |