From 6c350b1ca1ff4abbde9ba4e0071646584323de87 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date: Mon, 12 Sep 2016 09:31:25 +0200
Subject: libIDL: only for Darwin

---
 package/libIDL/Makefile | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'package/libIDL')

diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index 927e98a47..e8cb57341 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -26,7 +26,9 @@ $(eval $(call HOST_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE}))
 $(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
 
 CONFIGURE_ENV+=		libIDL_cv_long_long_format=ll
+ifeq ($(OS_FOR_BUILD),Darwin)
 HOST_LDFLAGS+=		-liconv
+endif
 
 libidl-install:
 	$(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib
-- 
cgit v1.2.3