Commit 86090ee198ce45e857c6367d7ec71cca7a953159

Peter Rosin 2011-05-25T10:54:06

Link with -lshell32 and -ladvapi32 on Win32. SHGetSpecialFolderPath is in Shell32.dll and the RegOpenKey (et al) and CryptGenRandom (et al) functions are in -ladvapi32.dll. MinGW is "nice" and brings those in automatically, but specify them explicitly for other tool chains.