From: Jose Rubio Date: Fri, 27 Sep 2019 19:54:06 +0000 (+0200) Subject: Fix openbsd compile build errors due to dependency on libiconv X-Git-Tag: 2.3.0a~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=707cc1256fe7e5c958767efbe8c6e28f741d7736;p=oweals%2Fcde.git Fix openbsd compile build errors due to dependency on libiconv The path to libiconv is selected in config/cf/OpenBSD.cf reusing the same trick as FreeBSD does. --- diff --git a/cde/config/cf/OpenBSD.cf b/cde/config/cf/OpenBSD.cf index a3b12533..212f5e68 100644 --- a/cde/config/cf/OpenBSD.cf +++ b/cde/config/cf/OpenBSD.cf @@ -1072,6 +1072,7 @@ CXXDEPENDINCLUDE != CcCmd -v -x c++ /dev/null -fsyntax-only \ #define ArchitectureDefines -DOPENBSD_ARCHITECTURE #define BuildLibPathVar LD_LIBRARY_PATH +ICONVSYSLIB != if test -f /usr/local/include/iconv.h; then echo -liconv; else echo; fi #ifndef KornShell #define KornShell /usr/local/bin/ksh93