forked from mirrors/nixpkgs
z3: fix darwin build (#43526)
This commit is contained in:
parent
3d2e92ef00
commit
1c88d0c6bd
|
@ -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