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/lib $lib/lib
|
||||||
mv $out/include $dev/include
|
mv $out/include $dev/include
|
||||||
|
|
||||||
# clean up a copy of libz3.so and symlink it instead
|
ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||||
rm $python/${python.sitePackages}/z3/lib/libz3.so
|
|
||||||
ln -s $lib/lib/libz3.so $python/${python.sitePackages}/z3/lib/libz3.so
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "python" ];
|
outputs = [ "out" "lib" "dev" "python" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user