mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
pjsip: fix pjsua executable compatiblity with darwin
This commit is contained in:
parent
c32dd072f0
commit
072cd2ab7a
|
@ -98,6 +98,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
install_name_tool -id $lib "''${change_args[@]}" $lib
|
||||
fi
|
||||
done
|
||||
|
||||
# Rewrite library references for all executables.
|
||||
find "$out" -executable -type f | while read executable; do
|
||||
install_name_tool "''${change_args[@]}" "$executable"
|
||||
done
|
||||
'';
|
||||
|
||||
# We need the libgcc_s.so.1 loadable (for pthread_cancel to work)
|
||||
|
|
Loading…
Reference in a new issue