Merge pull request #697 from bentley/libdl

Don’t look for libdl on OpenBSD
This commit is contained in:
Lior Halphon 2025-04-05 13:26:43 +03:00 committed by GitHub
commit 8b27952680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -282,11 +282,13 @@ sdl: $(BIN)/SDL/xaudio2_9redist.dll
endif
else
LDFLAGS += -lc -lm
# libdl is not available as a standalone library in Haiku
# libdl is not available as a standalone library in Haiku or OpenBSD
ifneq ($(PLATFORM),Haiku)
ifneq ($(PLATFORM),OpenBSD)
LDFLAGS += -ldl
endif
endif
endif
ifeq ($(MAKECMDGOALS),_ios)
OBJ := build/obj-ios