mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #220723 from wegank/libamplsolver-darwin
libamplsolver: fix runtime error on darwin
This commit is contained in:
commit
a1367682be
@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
|
||||
install -D -m 0644 *${stdenv.hostPlatform.extensions.sharedLibrary}* -t $out/lib
|
||||
install -D -m 0644 *.a -t $out/lib
|
||||
popd
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -id $out/lib/libamplsolver.dylib $out/lib/libamplsolver.dylib
|
||||
'' + ''
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user