From e4471b9ece77601d3a5af8740dbc85caa847c323 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Tue, 10 Jan 2023 23:07:53 -0600 Subject: [PATCH] Fix BSD build include path order https://github.com/Hamlib/Hamlib/issues/1208 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fcaffc794..0af90a705 100644 --- a/configure.ac +++ b/configure.ac @@ -273,7 +273,7 @@ dnl The host_os variable is set by the AC_CANONICAL_HOST macro above. AM_CONDITIONAL([VERSIONDLL], false) AS_CASE(["$host_os"], [freebsd*], [ - AM_CPPFLAGS="-I/usr/local/include ${AM_CPPFLAGS}" + AM_CPPFLAGS="${AM_CPPFLAGS} -I/usr/local/include" AM_LDFLAGS="${AM_LDFLAGS} -L/usr/local/lib" AC_SUBST([AM_LDFLAGS])],