miniupnpc: fix build on darwin again

Broken by ec4a159100 (PR #139638); I forgot darwin again.
conduit-nginx
Vladimír Čunát 2021-10-22 11:03:43 +02:00
parent 2810c8a6cc
commit d82c73ce17
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ let
makeFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ];
postInstall = ''chmod +x "$out"/lib/libminiupnpc.so'';
postInstall = ''
chmod +x "$out"/lib/libminiupnpc${stdenv.hostPlatform.extensions.sharedLibrary}
'';
meta = with lib; {
homepage = "http://miniupnp.free.fr/";