Use $(OS) in makefile to check for Darwin

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-05-13 13:29:18 +02:00
parent bab39eacce
commit ae33026799
1 changed files with 1 additions and 1 deletions

View File

@ -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