aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index ae95639..d566e23 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -172,7 +172,9 @@ else
endif
CFLAGS += -fPIC
-ifneq ($(platform),qnx)
+ifeq ($(platform),win)
+ MAIN_LDLIBS += -lws2_32
+else ifneq ($(platform),qnx)
LDLIBS += -lpthread
MAIN_LDLIBS += -ldl
endif