From 995f9182feb8e91a15ca24e50780831418219b41 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 27 Jul 2018 14:39:59 +0200 Subject: [PATCH] Fix the test for Linux or NetBSD to not add -liconv fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 8027bf10..9e91e577 100644 --- a/src/Makefile +++ b/src/Makefile @@ -540,7 +540,7 @@ endif # enable UTF8 filename translation # For Linux (GLibc), iconv is built into the C library so no LOPT needed. COPT += -DENABLE_FILENAMES_ICONV - ifeq ($(filter-out NetBSD Linux, $(PLATFORM))),) + ifneq ($(filter-out NetBSD Linux,$(PLATFORM)),) LOPT += -liconv endif