From cf3abbc4da9080c3815907e2bfb85fa4039fc7b3 Mon Sep 17 00:00:00 2001 From: Douglas Thain Date: Mon, 21 Oct 2024 12:41:58 -0400 Subject: [PATCH] Fix configure flags so that HAS_FUSE goes in ccflags not ldflags. (#3960) --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 8787d02a6f..439d97ff3c 100755 --- a/configure +++ b/configure @@ -702,11 +702,12 @@ then fuse_path=${fuse_path:-${base_root}} if library_search fuse ${fuse_path} || library_search fuse / then + fuse_ccflags="-DHAS_FUSE" if [ "${fuse_path}" != / -a "${fuse_path}" != ${base_root} ] then - fuse_ccflags="-I${fuse_path}/include" + fuse_ccflags="${fuse_ccflags} -I${fuse_path}/include" fi - fuse_ldflags="-DHAS_FUSE ${library_search_result}" + fuse_ldflags="${library_search_result}" else fuse_avail=no fi