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'
9 if [ ! -e "$RAZOR_ROOT$1" ]; then
10 echo $1: Not in filesystem >&2
14 export RAZOR_ROOT=`mktemp -dt` || exit 1
16 export YUM_URL="file://localhost/`pwd`"
17 $razor import-yum || exit 1
18 $razor install zip zsh || exit 1
19 check_file /usr/var/lib/zip/data.zap
20 check_file /usr/var/lib/zsh/data.zip