Fix build of kfreebsd debian builds

-liconv is not needed on this architectures
https://buildd.debian.org/status/package.php?p=grafx2#problem-2
This commit is contained in:
Thomas Bernard 2018-12-08 15:52:10 +01:00
parent caca361377
commit 6f7e1992ea
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -586,8 +586,10 @@ endif
# For Linux (GLibc), iconv is built into the C library so no LOPT needed.
COPT += -DENABLE_FILENAMES_ICONV
ifneq ($(filter-out NetBSD Linux,$(PLATFORM)),)
ifneq ($(DEB_HOST_ARCH_OS), kfreebsd)
LOPT += -liconv
endif
endif
endif
endif