Skip to content

Navigation Menu

Sign in
Sign up

Can't build using OSXFUSE's compatibility layer - #16

Open
ohanar wants to merge 1 commit into
gerard:master from
ohanar:master
Open

Can't build using OSXFUSE's compatibility layer #16
ohanar wants to merge 1 commit into
gerard:master from
ohanar:master

Conversation

@ohanar

@ohanar ohanar commented Jul 8, 2012

Copy link
Copy Markdown

Thankfully this is an easy fix, since the Makefile just needs to be told to grab headers from the appropriate place and be told to link to fuse.

gerard commented Jul 14, 2012

Copy link
Copy Markdown
Owner

So, I think the right fix would be to add /usr/local/lib/pkg_config after the configured PKG_CONFIG_PATH only on Darwin. Since fuse.pc is there, everything should work after that. Do you agree? It's still guessing, but a way better shot at it. Could you test it and send a pull request?

GwynethLlewelyn reacted with thumbs up emoji

Copy link
Copy Markdown

I think the right fix would be to add /usr/local/lib/pkg_config after the configured PKG_CONFIG_PATH only on Darwin.

I certainly cannot speak for any other platform (besides the Mac, I only have Debian/Ubuntu Linux to play around with, and these already mount ext4 filesystems by default), but I believe that using pkg-config (note the hyphen and not the underscore) is pretty much the standard way of retrieving compilation flags for all Unix-based operating systems these days.

It's true that macOS/Darwin lacks them by default, but that's one of the reasons for using something like Homebrew 😀 which will happily populate the filesystem with all those correctly-configured .pc files for pkg-config... and keep them up to date, too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /