]> xenbits.xensource.com Git - people/royger/xen.git/commit
tools: add support for additional items in .pc files for local builds
authorJuergen Gross <jgross@suse.com>
Tue, 14 Mar 2017 13:31:12 +0000 (14:31 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 14 Mar 2017 14:13:14 +0000 (14:13 +0000)
commit514cd1f15ad3bfa3a84493c83b9ac12dbca7c640
treef87a49f5b1154666a32a93c2ee8a6afa42d7eb94
parente3de52f2c836ebda0f16cccba0c424674e13f150
tools: add support for additional items in .pc files for local builds

Some libraries require different compiler-flags when being used in a
local build compared to a build using installed libraries.

Reflect that by supporting local cflags variables in generated
pkg-config files. The local variants will be empty in the installed
pkg-config files.

The flags for the linker in the local variants will have to specify
the search patch for the library with "-Wl,-rpath-link=", while the
flags for the installed library will be "-L".

Add needed directory patterns.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/Rules.mk
tools/libxc/xencontrol.pc.in