From 700426e64933d27369f238f605e7574b1769a055 Mon Sep 17 00:00:00 2001 From: mTvare <57838468+mTvare6@users.noreply.github.com> Date: Sun, 4 Apr 2021 19:31:46 +0530 Subject: [PATCH] Fix broken dll's on windows (#5) * Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b070a7f..87616f0 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ ifeq ($(OS), Windows_NT) # Set Windows macros platform := Windows CXX ?= g++ - linkFlags += -Wl,--allow-multiple-definition -pthread -lopengl32 -lgdi32 -lwinmm -mwindows + linkFlags += -Wl,--allow-multiple-definition -pthread -lopengl32 -lgdi32 -lwinmm -mwindows -static -static-libgcc -static-libstdc++ libGenDir := src THEN := && PATHSEP := \$(BLANK)