Fix the test for Linux or NetBSD to not add -liconv

fix 244e856e9ff23bbb855e4e6b2d22d7cb9856a632 which broke on FreeBSD
This commit is contained in:
Thomas Bernard 2018-07-27 14:39:59 +02:00
parent ebad2b5946
commit 995f9182fe

View File

@ -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