mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-31 15:02:17 +00:00
require/macfuse: add PKG_CONFIG env var
This should cover most autotools `configure` runs.
This commit is contained in:
parent
7d2644262b
commit
67f7facf52
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,6 @@ class Formula
|
|||
mkdir "#{alt_fuse_root}/bin" do
|
||||
cp path/"../../lib/fuse-pkg-config", "."
|
||||
inreplace "fuse-pkg-config", "%FUSE_ROOT%", "#{alt_fuse_root}"
|
||||
#ENV.prepend_path "PATH", "#{alt_fuse_root}/bin"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -92,6 +91,7 @@ class Formula
|
|||
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include"
|
||||
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
|
||||
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"
|
||||
ENV.append "PKG_CONFIG", "#{fuse_pkgconfig}"
|
||||
end
|
||||
|
||||
def setup_fuse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue