tpm2-tss: fix version detection
without this, the version field in the .pc files is empty leading to tpm2-abrmd failing to build
This commit is contained in:
parent
9a724bde60
commit
779cca1bd1
|
@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
|
||||||
--replace '@PREFIX@' $out/lib/
|
--replace '@PREFIX@' $out/lib/
|
||||||
substituteInPlace ./test/unit/tctildr-dl.c \
|
substituteInPlace ./test/unit/tctildr-dl.c \
|
||||||
--replace '@PREFIX@' $out/lib
|
--replace '@PREFIX@' $out/lib
|
||||||
|
substituteInPlace ./configure.ac \
|
||||||
|
--replace 'm4_esyscmd_s([git describe --tags --always --dirty])' '${version}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
|
configureFlags = lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
|
||||||
|
|
Loading…
Reference in a new issue