Skip to content

Commit

Permalink
Update target.mk
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Hunter <[email protected]>
  • Loading branch information
ianfhunter authored Nov 25, 2023
1 parent 4467e1a commit d38611e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/rust/target.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.PHONY: rust

rust: all
echo "ONE:" && ls $(PWD)/build/
echo "ONE:" && echo $LD_LIBRARY_PATH
echo "TWO;" && ls $(PWD)/build/libdice.so
cd src/rust && LD_LIBRARY_PATH=$(PWD)/build/ ldd $(PWD)/build/libdice.so
cd src/rust && LD_LIBRARY_PATH=$(PWD)/build/ cargo build -v
cd src/rust && LD_LIBRARY_PATH=$(PWD)/build/ cargo run
echo ld -ldice
cd src/rust && ldd $(PWD)/build/libdice.so
cd src/rust && cargo build -v
cd src/rust && cargo run

0 comments on commit d38611e

Please sign in to comment.