diff --git a/generate-bindings b/generate-bindings index 39111ba..ca75c7a 100755 --- a/generate-bindings +++ b/generate-bindings @@ -2,4 +2,4 @@ set -euo pipefail # Place library in the location from which Cabal can bundle it. -cp rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g') +ln -sf $(pwd)/rust/target/debug/libgarnet_rs.a $(cabal list-bin . | sed -e 's=x/garnet/build/garnet/garnet=build=g')