pkgconf/pkgconf — pull request #36 by bdrewery (2012-08-25 21:37:03+00:00)
Title: Fix crash when specified filename has no path separators

When running `pkgconf` without any path separators, a crash occurs. This happens when compiling Unreal3.2 with libtre:

## tre.pc

prefix=/usr/home/bryan/Unreal3.2/extras/regexp
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: TRE
Description: TRE regexp matching library
Version: 0.8.0
Libs: -L${libdir} -ltre
Cflags: -I${includedir}

$ pkgconf tre.pc
Segmentation fault: 11 (core dumped)