diff options
author | Jonas Witschel <diabonas@gmx.de> | 2019-04-09 17:05:29 +0200 |
---|---|---|
committer | Tadeusz Struk <tadeusz.struk@intel.com> | 2019-04-11 08:27:06 -0700 |
commit | 82aef96eb2051a9de79d5bbb8f7fe2810a4b55cb (patch) | |
tree | c24dfd5b557a508a451e742a0b8303add6e1ac72 /lib/tss2-tcti-device.pc.in | |
parent | 8ed533fba7dad438f4e8fcd99f108a75eddfff0f (diff) | |
download | tpm2-tss-82aef96eb2051a9de79d5bbb8f7fe2810a4b55cb.tar.gz |
build: define variables for {lib,include}dir in pkg-config files
This is standard practice, see e.g. the pkg-config man page, as it
allows the user to determine where the files have been installed.
Signed-off-by: Jonas Witschel <diabonas@gmx.de>
Diffstat (limited to 'lib/tss2-tcti-device.pc.in')
-rw-r--r-- | lib/tss2-tcti-device.pc.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/tss2-tcti-device.pc.in b/lib/tss2-tcti-device.pc.in index 81b39595..b889e6f3 100644 --- a/lib/tss2-tcti-device.pc.in +++ b/lib/tss2-tcti-device.pc.in @@ -1,7 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + Name: tss2-tcti-device Description: TCTI library for communicating with a TPM device node. URL: https://github.com/tpm2-software/tpm2-tss Version: @VERSION@ Requires: tss2-mu -Cflags: -I@includedir@ -Libs: -ltss2-tcti-device -L@libdir@ +Cflags: -I${includedir} +Libs: -ltss2-tcti-device -L${libdir} |