Skip to content

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