summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libIDL/Makefile2
1 files changed, 2 insertions, 0 deletions
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