data/razor.pc.in
author J. Ali Harlow <ali@juiblex.co.uk>
Wed Apr 22 13:09:42 2015 +0100 (2015-04-22)
changeset 465 271bb9e6e10f
parent 344 1b54aa2137d3
permissions -rw-r--r--
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 prefix=@prefix@
     2 exec_prefix=@exec_prefix@
     3 libdir=@libdir@
     4 includedir=@includedir@
     5 
     6 Name: razor
     7 Description: library for depsolving, installing and removing packages
     8 Version: @VERSION@
     9 Requires.private: @REQUIREMENTS@
    10 Libs: -L${libdir} -lrazor
    11 Libs.private: @EXPAT_LIBS@ @ZLIB_LIBS@ @INTLLIBS@ @EXTRA_LIBS@
    12 Cflags: -I${includedir}/razor
    13