data/razor.pc.in
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Aug 23 16:07:09 2014 +0100 (2014-08-23)
changeset 441 cf499fd51df7
parent 335 636f120d1b5e
child 453 1fd1d221092d
permissions -rw-r--r--
Drop drive letter from path to razor root when RAZOR_ROOT set.

If the RAZOR_ROOT environment variable was set to eg., /root then on
Microsoft Windows we were trying to use paths such as /rootC:/Programs
which is obviously wrong. Instead we should drop the drive letter
giving paths of the form /root/Programs. Note that the drive letter is
_not_ migrated to C:/root/Programs: If a root of C:/root was desired
then RAZOR_ROOT would have been set to C:/root.
rhughes@241
     1
prefix=@prefix@
rhughes@241
     2
exec_prefix=@exec_prefix@
rhughes@241
     3
libdir=@libdir@
rhughes@241
     4
includedir=@includedir@
rhughes@241
     5
rhughes@241
     6
Name: razor
rhughes@241
     7
Description: library for depsolving, installing and removing packages
rhughes@241
     8
Version: @VERSION@
ali@344
     9
Requires: @REQUIREMENTS@
ali@344
    10
Libs: -L${libdir} -lrazor @EXPAT_LIBS@ @ZLIB_LIBS@ @EXTRA_LIBS@
rhughes@241
    11
Cflags: -I${includedir}/razor
rhughes@241
    12