mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
z3: fix darwin build (#43526)
This commit is contained in:
parent
3d2e92ef00
commit
1c88d0c6bd
1 changed files with 1 additions and 3 deletions
|
@ -27,9 +27,7 @@ stdenv.mkDerivation rec {
|
|||
mv $out/lib $lib/lib
|
||||
mv $out/include $dev/include
|
||||
|
||||
# clean up a copy of libz3.so and symlink it instead
|
||||
rm $python/${python.sitePackages}/z3/lib/libz3.so
|
||||
ln -s $lib/lib/libz3.so $python/${python.sitePackages}/z3/lib/libz3.so
|
||||
ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
|
||||
outputs = [ "out" "lib" "dev" "python" ];
|
||||
|
|
Loading…
Reference in a new issue