Symlink static lib instead of copying
This means we need to run the script much less often.
This commit is contained in:
parent
649c1b466f
commit
6bb06b117f
@ -2,4 +2,4 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Place library in the location from which Cabal can bundle it.
|
# 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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user