Add x11.pc pseudo-package for macOS
The x11.pc file is missing on macOS (at least on Brew), and it was getting annoying to add ad-hoc rules in every makefile that required it. The hack here is to add one directly from make-it-quick. Putting the make-it-quick directory last should ensure this solution still works correclty if you have an actual x11.pc on your macOS system.
This commit is contained in:
parent
425b400d69
commit
8533fc92ec
|
@ -37,3 +37,6 @@ MIQ_SONAME_OPT= $(PRODUCTS_VERSION:%=-Wl,-install_name -Wl,$(MIQ_SONAME))
|
||||||
# On MacOSX, we will use basic frameworks e.g. for string and filesystem functions
|
# On MacOSX, we will use basic frameworks e.g. for string and filesystem functions
|
||||||
LDFLAGS_BUILDENV_macosx-clang= -framework CoreFoundation \
|
LDFLAGS_BUILDENV_macosx-clang= -framework CoreFoundation \
|
||||||
-framework CoreServices
|
-framework CoreServices
|
||||||
|
|
||||||
|
# Special case x11 package, missing on macOS, and unusual location - A bit yucky
|
||||||
|
export PKG_CONFIG_PATH:=$(PKG_CONFIG_PATH):$(MIQ)
|
||||||
|
|
Loading…
Reference in New Issue