diff --git a/Makefile b/Makefile index 7c5cab8d3..1caa0038b 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ SED ?= sed BISON ?= bison STRIP ?= strip -ifeq (Darwin,$(findstring Darwin,$(shell uname))) +ifeq ($(OS), Darwin) PLUGIN_LDFLAGS += -undefined dynamic_lookup # homebrew search paths