mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-31 15:02:17 +00:00
require/macfuse: add base include dir to flags
Some projects add subdir to their #include's.
This commit is contained in:
parent
d06c9548d6
commit
0649e8a73e
1 changed files with 8 additions and 3 deletions
|
|
@ -100,19 +100,20 @@ class Formula
|
|||
end
|
||||
|
||||
def setup_fuse_flags
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CXXFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CXXFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include/fuse"
|
||||
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
|
|
@ -125,16 +126,20 @@ class Formula
|
|||
|
||||
def setup_fuse3_flags
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse3"
|
||||
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include/fuse3"
|
||||
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include/fuse3"
|
||||
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CXXFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CXXFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include/fuse3"
|
||||
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue