diff options
author | Andrea Weikert <elubie@gmx.net> | 2006-03-20 20:25:42 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2006-03-20 20:25:42 +0300 |
commit | a89905d6fa419f9200c6cae4a391dbf5e3cb1a7a (patch) | |
tree | d2ae21be750311868b52fba1c1ebe11be192e452 /source/nan_link.mk | |
parent | e469e4875f97d04fc788cab533495d9408e9b038 (diff) |
=== 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
Diffstat (limited to 'source/nan_link.mk')
-rw-r--r-- | source/nan_link.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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 |