Skip to content

Commit

Permalink
Fix configure flags so that HAS_FUSE goes in ccflags not ldflags. (#3960
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dthain authored and btovar committed Oct 21, 2024
1 parent c90ef62 commit cf3abbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf3abbc

Please sign in to comment.