3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

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

View file

@ -67,7 +67,7 @@ SED ?= sed
BISON ?= bison BISON ?= bison
STRIP ?= strip STRIP ?= strip
ifeq (Darwin,$(findstring Darwin,$(shell uname))) ifeq ($(OS), Darwin)
PLUGIN_LDFLAGS += -undefined dynamic_lookup PLUGIN_LDFLAGS += -undefined dynamic_lookup
# homebrew search paths # homebrew search paths