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 $razor list-files | grep -x "$1" > /dev/null
11 echo $1: Not in database >&2
14 if [ ! -e "$RAZOR_ROOT$1" ]; then
15 echo $1: Not in filesystem >&2
19 export RAZOR_ROOT=`mktemp -dt` || exit 1
21 export YUM_URL="file://localhost/`pwd`"
22 $razor import-yum || exit 1
23 $razor install zap || exit 1
24 $razor install --relocate /usr=/opt --relocate /etc=/opt/etc zsh || exit 1
25 check_file /etc/zsh.conf
26 check_file /usr/bin/zap
27 check_file /opt/bin/zip
28 check_file /opt/bin/zsh