sshock / AFFLIBv3

AFF is an open and extensible file format to store disk images and associated metadata.
Other
80 stars 21 forks source link

Add pkg-config check for macOS #15

Closed umireon closed 7 years ago

umireon commented 7 years ago

FUSE for macOS is compatible with Linux's implementation, but it has a non standard library name (-losxfuse) and header path (<osxfuse/fuse.h>) for the historic reason. On macOS, using pkg-config is better to detect osxfuse properly.

pkg-config is used if the platform is macOS and pkg-config exists. Therefore, no backward compatibility breakage should be present.

umireon commented 7 years ago

I have something wrong with quoting at 74e0131

sshock commented 7 years ago

So is it ready to merge or do you still need to tweak it some?

umireon commented 7 years ago

@sshock It's ready, the problem is fixed at cc7ae0f and now it builds correctly on my laptop 👍

sshock commented 7 years ago

Got it, thanks.