From a89905d6fa419f9200c6cae4a391dbf5e3cb1a7a Mon Sep 17 00:00:00 2001 From: Andrea Weikert Date: Mon, 20 Mar 2006 17:25:42 +0000 Subject: === MINGW compile === Fixing compile for Windows mingw builds with cygwin make and scons. Used SHGetFolderPath instead of SHGetSpecialFolderPath which is better supported for mingw. Thanks to Ralf Hoelzemer for the tip and the patch. Let me know if any problems persist, I'll try to fix then. --- Andrea --- source/nan_link.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/nan_link.mk') diff --git a/source/nan_link.mk b/source/nan_link.mk index f201077d4c8..35eb80b2cc7 100644 --- a/source/nan_link.mk +++ b/source/nan_link.mk @@ -134,7 +134,7 @@ ifeq ($(OS),windows) ifeq ($(FREE_WINDOWS),true) MINGWLIB = /usr/lib/w32api LDFLAGS += -mwindows -mno-cygwin -mconsole - DADD += -L/usr/lib/w32api -lnetapi32 -lopengl32 -lglu32 + DADD += -L/usr/lib/w32api -lnetapi32 -lopengl32 -lglu32 -lshfolder DADD += -L/usr/lib/w32api -lwinmm -lwsock32 else DADD = kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib -- cgit v1.2.3