forked from mirrors/nixpkgs
Merge pull request #30695 from flokli/libcap-pkgconfig
libcap: already patch Make.Rules in prePatch
This commit is contained in:
commit
f3a2570ba4
|
@ -30,9 +30,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# ensure capsh can find bash in $PATH
|
||||
substituteInPlace progs/capsh.c --replace execve execvpe
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
# set prefixes
|
||||
substituteInPlace Make.Rules \
|
||||
--replace 'prefix=/usr' "prefix=$lib" \
|
||||
--replace 'exec_prefix=' "exec_prefix=$out" \
|
||||
|
|
Loading…
Reference in a new issue