From 6f7e1992eae0b9940fbb7689a029c37493694981 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 8 Dec 2018 15:52:10 +0100 Subject: [PATCH] Fix build of kfreebsd debian builds -liconv is not needed on this architectures https://buildd.debian.org/status/package.php?p=grafx2#problem-2 --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 4b90b1da..a78c5d84 100644 --- a/src/Makefile +++ b/src/Makefile @@ -586,7 +586,9 @@ 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)),) - LOPT += -liconv + ifneq ($(DEB_HOST_ARCH_OS), kfreebsd) + LOPT += -liconv + endif endif endif