Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] mtools: fix build when libiconv is enabled
@ 2014-03-22  9:25 Bernd Kuhls
  2014-03-22 11:14 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2014-03-22  9:25 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/298/298858b6cc89438dcd044c74dff4231186a065e1/
http://autobuild.buildroot.net/results/7e7/7e7e7027226bb0251e32a90df2f00d9e84aedaaf/
http://autobuild.buildroot.net/results/c18/c18e7da16121417e597a153ce7dc2a3b64ece3b0/
http://autobuild.buildroot.net/results/b29/b29e80441ed87be651d720ae2dccf24d0f7fe8b6/

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
---
 package/mtools/mtools.mk |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/mtools/mtools.mk b/package/mtools/mtools.mk
index 4880245..e140054 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_MTOOLS),y)
+MTOOLS_DEPENDENCIES += libiconv
+MTOOLS_CONF_ENV += LIBS=-liconv
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-22 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-22  9:25 [Buildroot] [PATCH 1/1] mtools: fix build when libiconv is enabled Bernd Kuhls
2014-03-22 11:14 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox