lsof: fix build on musl (#287623)
This commit is contained in:
parent
196ad58d98
commit
8f9789aa7f
1 changed files with 0 additions and 2 deletions
|
@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
# We remove phony 'FRC' target that forces rebuilds:
|
# We remove phony 'FRC' target that forces rebuilds:
|
||||||
# 'version.h: FRC ...' is translated to 'version.h: ...'.
|
# 'version.h: FRC ...' is translated to 'version.h: ...'.
|
||||||
sed -i lib/dialects/*/Makefile -e 's/version.h:\s*FRC/version.h:/'
|
sed -i lib/dialects/*/Makefile -e 's/version.h:\s*FRC/version.h:/'
|
||||||
'' + lib.optionalString stdenv.hostPlatform.isMusl ''
|
|
||||||
substituteInPlace dialects/linux/dlsof.h --replace "defined(__UCLIBC__)" 1
|
|
||||||
'' + lib.optionalString stdenv.isDarwin ''
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
sed -i 's|lcurses|lncurses|g' Configure
|
sed -i 's|lcurses|lncurses|g' Configure
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue