Don't use -Wl,--no-undefined on OpenBSD

Breaks the build since version 7.00
This commit is contained in:
mulander 2017-07-20 01:10:34 +02:00 committed by Daniel Gibson
parent 6da4a31740
commit 60bef10748

View file

@ -252,8 +252,8 @@ endif
CFLAGS += -fvisibility=hidden
LDFLAGS += -fvisibility=hidden
ifneq ($(YQ2_OSTYPE), Darwin)
# for some reason the OSX linker doesn't support this
ifneq ($(YQ2_OSTYPE), $(filter $(YQ2_OSTYPE), Darwin, OpenBSD))
# for some reason the OSX & OpenBSD linker doesn't support this
LDFLAGS += -Wl,--no-undefined
endif