Skip to content
Snippets Groups Projects
Commit 4dd8a371 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add -L to LDFLAGS, not CFLAGS for macos builds

This fixes all the "argument unused during compliation" warnings
parent f16366f1
Branches
Tags
No related merge requests found
Pipeline #7307 passed
......@@ -389,7 +389,7 @@ ifeq ($(os),darwin)
LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
ifneq (,$(shell which brew))
CFLAGS += -I$(shell brew --prefix)/include
CFLAGS += -L$(shell brew --prefix)/lib
LDFLAGS += -L$(shell brew --prefix)/lib
endif
endif
ifeq ($(os),linux) # Linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment