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
|
||||
'';
|
||||
|
||||
configureFlags = lib.optionals stdenv.hostPlatform.isMusl [
|
||||
# musl doesn't have getprotobynumber_r
|
||||
"sc_cv_getprotobynumber_r=2"
|
||||
];
|
||||
|
||||
buildInputs = [ openssl readline ];
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
Loading…
Reference in New Issue
Block a user