mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
pkgsMusl.socat: fix build
Fix via Alpine.
This commit is contained in:
parent
24278c45af
commit
7ecf7a3493
@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
|
|||||||
--replace /sbin/ifconfig ifconfig
|
--replace /sbin/ifconfig ifconfig
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
|
# musl doesn't have getprotobynumber_r
|
||||||
|
"sc_cv_getprotobynumber_r=2"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl readline ];
|
buildInputs = [ openssl readline ];
|
||||||
|
|
||||||
hardeningEnable = [ "pie" ];
|
hardeningEnable = [ "pie" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user