Symlink static lib instead of copying
This means we need to run the script much less often.
This commit is contained in:
parent
f10c7a29a7
commit
ef625c307d
@ -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