From b93998a221ad9e78540253016eadd634a39c1598 Mon Sep 17 00:00:00 2001
From: wangyaoyong <yaoyong.oerv@isrc.iscas.ac.cn>
Date: Thu, 23 May 2024 17:59:49 +0800
Subject: [PATCH 1/1] fix compile error on riscv64

---
 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 6affd14..0e8ff16 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -598,10 +598,10 @@ $(Program):  .build  $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) rust_builtins_lib rust
 	@echo "	  ***********************************************************"
 	@echo
 
-rust_mainland_lib:
+rust_mainland_lib: $(SHLIB_LIBRARY)
 	@for it in $(RUST_MAINLAND_DIRS); do  cd $$it ;  cargo build;   cd -; done
 
-rust_builtins_lib:
+rust_builtins_lib: $(SHLIB_LIBRARY)
 	@for it in $(RUST_BUILTINS_DIRS); do  cd $$it ;  cargo build;   cd -; done
 
 
-- 
2.25.1

