Fix the test for Linux or NetBSD to not add -liconv
fix 244e856e9f which broke on FreeBSD
This commit is contained in:
@@ -540,7 +540,7 @@ endif
|
|||||||
# enable UTF8 filename translation
|
# enable UTF8 filename translation
|
||||||
# For Linux (GLibc), iconv is built into the C library so no LOPT needed.
|
# For Linux (GLibc), iconv is built into the C library so no LOPT needed.
|
||||||
COPT += -DENABLE_FILENAMES_ICONV
|
COPT += -DENABLE_FILENAMES_ICONV
|
||||||
ifeq ($(filter-out NetBSD Linux, $(PLATFORM))),)
|
ifneq ($(filter-out NetBSD Linux,$(PLATFORM)),)
|
||||||
LOPT += -liconv
|
LOPT += -liconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user