libnatpmp: make files in $out/lib executable

Fixes https://github.com/NixOS/nixpkgs/issues/139197

(cherry picked from commit be3bc77e3175f055e634ca1375d7cbdb60facfad)
This commit is contained in:
Artturin 2021-09-26 01:40:32 +03:00 committed by github-actions[bot]
parent 47b0bee8b4
commit 23ca79f291
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
makeFlags = [ "INSTALLPREFIX=$(out)" ];
postFixup = ''
chmod +x $out/lib/*
'';
meta = with lib; {
homepage = "http://miniupnp.free.fr/libnatpmp.html";
description = "NAT-PMP client";