From 82bc640c9d085981e1ff3b6a89a94fb65f1a1e9c Mon Sep 17 00:00:00 2001 From: BruceFan Date: Tue, 14 Sep 2021 01:39:26 +0800 Subject: [PATCH] fix error when make the plugin example second time (#42) --- examples/supp_plugin-rs/plugin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/supp_plugin-rs/plugin/Makefile b/examples/supp_plugin-rs/plugin/Makefile index f1a004af..bb39fe01 100644 --- a/examples/supp_plugin-rs/plugin/Makefile +++ b/examples/supp_plugin-rs/plugin/Makefile @@ -38,6 +38,6 @@ all: host host: @cargo build --target $(TARGET) --release - mv $(CURDIR)/target/$(TARGET)/release/lib$(NAME).so $(CURDIR)/target/$(TARGET)/release/$(PLUGIN_UUID).plugin.so + cp $(CURDIR)/target/$(TARGET)/release/lib$(NAME).so $(CURDIR)/target/$(TARGET)/release/$(PLUGIN_UUID).plugin.so clean: @cargo clean