summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libiscsi/libiscsi.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libiscsi/libiscsi.mk b/package/libiscsi/libiscsi.mk
index 7877cd959b..adb94bdb29 100644
--- a/package/libiscsi/libiscsi.mk
+++ b/package/libiscsi/libiscsi.mk
@@ -10,4 +10,8 @@ LIBISCSI_LICENSE = GPLv2+ LGPLv2.1+
LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt
LIBISCSI_INSTALL_STAGING = YES
+# Force libiscsi to use gcc as the linker, otherwise it uses directly
+# ld, which doesn't work for certain architectures.
+LIBISCSI_CONF_ENV = LD="$(TARGET_CC)"
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud