mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02: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
|
||||
'';
|
||||
|
||||
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 a new issue