aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mtools/Makefile')
-rw-r--r--emulators/mtools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 47f97a2d626a..bbb223a9fc20 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -37,7 +37,7 @@ OPTIONS_DEFAULT=ICONV X11
.if ${PORT_OPTIONS:MICONV}
USES+= iconv
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
+LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
.else
CONFIGURE_ENV+= ac_cv_header_iconv_h=no
.endif