mirror of https://github.com/YosysHQ/abc.git
Skip -ldl on NetBSD; it does not exist. Skip -lrt on NetBSD; it is
not required. Same treatment as FreeBSD.
(cherry picked from commit ecce27ce1d)
This commit is contained in:
parent
fe0bb59baa
commit
f5f317d7d2
4
Makefile
4
Makefile
|
|
@ -137,11 +137,11 @@ endif
|
||||||
|
|
||||||
# LIBS := -ldl -lrt
|
# LIBS := -ldl -lrt
|
||||||
LIBS += -lm
|
LIBS += -lm
|
||||||
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD))
|
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD NetBSD))
|
||||||
LIBS += -ldl
|
LIBS += -ldl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD Darwin))
|
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD NetBSD Darwin))
|
||||||
LIBS += -lrt
|
LIBS += -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue