Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

ohanar
Copy link

@ohanar ohanar commented Jul 8, 2012

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
Copy link
Owner

gerard commented Jul 14, 2012

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
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants