From 8fa58443b47d8df17492bf7f863489e72b6ada15 Mon Sep 17 00:00:00 2001 From: Samuel Gomes <47574584+a740g@users.noreply.github.com> Date: Tue, 25 Oct 2022 08:12:07 +0530 Subject: [PATCH] Add -lcomdlg32 -lole32 to CXXLIBS always for Windows --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3706be15f..6085786dc 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ ifeq ($(OS),lnx) endif ifeq ($(OS),win) - CXXLIBS += -static-libgcc -static-libstdc++ + CXXLIBS += -static-libgcc -static-libstdc++ -lcomdlg32 -lole32 CXXFLAGS += -DGLEW_STATIC -DFREEGLUT_STATIC endif