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'
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = data docs gl librazor src test po
5 ACLOCAL_AMFLAGS = -I gl/m4
7 DISTCHECK_CONFIGURE_FLAGS = --enable-tests
9 # Creating ChangeLog from git log (taken from cairo/Makefile.am):
10 ChangeLog: $(srcdir)/ChangeLog
13 @if test -d "$(srcdir)/.git"; then \
15 ./missing --run git-log --stat) | fmt --split-only > $@.tmp \
18 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
19 (test -f $@ || echo git-log is required to generate this file >> $@)); \
22 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
23 echo A git checkout and git-log is required to generate this file >> $@); \
26 .PHONY: ChangeLog $(srcdir)/ChangeLog