lomiri.deviceinfo: Fix references variable in pkg-config
This commit is contained in:
parent
7523091d97
commit
33fc340c95
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"bin"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# For our automatic pkg-config output patcher to work, prefix must be used here
|
||||
substituteInPlace headers/deviceinfo.pc.in \
|
||||
--replace-fail 'libdir=''${exec_prefix}' 'libdir=''${prefix}'
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue