Skip to content
Snippets Groups Projects
Commit d9f9c194 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Start getting sneaky detecting brew.

If this works, we can use it for EVERYTHING!
Baw ha ha!
parent ff55a5f6
No related branches found
No related tags found
No related merge requests found
Pipeline #7102 passed
...@@ -387,7 +387,7 @@ ifeq ($(os),darwin) ...@@ -387,7 +387,7 @@ ifeq ($(os),darwin)
CFLAGS += -D__unix__ -fno-common -D__DARWIN__ CFLAGS += -D__unix__ -fno-common -D__DARWIN__
CFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) CFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
ifeq ($(shell brew --prefix && echo "Yes"),"Yes") ifneq (,$(shell which brew))
CFLAGS += -I$(shell brew --prefix)/include CFLAGS += -I$(shell brew --prefix)/include
CFLAGS += -L$(shell brew --prefix)/lib CFLAGS += -L$(shell brew --prefix)/lib
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment