Add -lole32 to link libraries.
authorJ. Ali Harlow <ali@juiblex.co.uk>
Wed, 22 Apr 2015 12:09:42 +0000 (13:09 +0100)
committerJ. Ali Harlow <ali@juiblex.co.uk>
Wed, 22 Apr 2015 12:09:42 +0000 (13:09 +0100)
commit4b798e5197541cb22d10d9946cbb174cfb39665c
tree5edb83c09425edadb62e8b3ab3662672804e275f
parentbce7a56b4b433c37d6d39c405ffb31d8f926bffd
Add -lole32 to link libraries.

This fixes a problem when compiling with mingw-headers version 3.3
where the use of SHGetFolderPath() expands to a call to CoTaskMemFree()
which is defined in libole32.dll:

/usr/x86_64-w64-mingw32/sys-root/mingw/include/shobjidl.h:29954: undefined reference to `__imp_CoTaskMemFree'
configure.ac