From d57850d9373e5b185c97f1ab57f1c41f92c13f6b Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 4 Mar 2020 21:51:22 +0000 Subject: [PATCH] Fix Windows miniaudio build... again --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb736543..17bedda5 100644 --- a/Makefile +++ b/Makefile @@ -275,7 +275,11 @@ ifeq ($(BACKEND_AUDIO), SDL2) SOURCES += src/Backends/Audio/SDL2.cpp else ifeq ($(BACKEND_AUDIO), miniaudio) SOURCES += src/Backends/Audio/miniaudio.cpp external/miniaudio.c - CSE2_LIBS += -ldl -lm -lpthread + CSE2_LIBS += -lm -lpthread + + ifneq ($(WINDOWS), 1) + CSE2_LIBS += -ldl + endif else $(error Invalid BACKEND_AUDIO selected) endif