Do not link against libdl on OpenBSD
This commit is contained in:
parent
ff9cd0e0f1
commit
3dad4173e7
10
Makefile
10
Makefile
@ -39,7 +39,15 @@ else
|
||||
CXXFLAGS += -D NDEBUG -O3
|
||||
endif
|
||||
|
||||
LDLIBS := -lm -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -ldl -lscnumerics
|
||||
LDLIBS := -lm -lscgui -lSDL2 -lcairo -lscerror -lscstring -lscscreensaver -lscnumerics
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
LDLIBS += -ldl
|
||||
endif
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
LDLIBS += -ldl
|
||||
endif
|
||||
|
||||
.PHONY: all clean install modules new
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user