From 427fdb13c0c63905779f5c0e390a109b470f6684 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 18 Dec 2023 10:39:30 +0100 Subject: [PATCH] pve: update testcase PVE.pm with fixed library path Signed-off-by: Wolfgang Bumiller --- pve-rs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pve-rs/Makefile b/pve-rs/Makefile index 5e44ebe..53b73b5 100644 --- a/pve-rs/Makefile +++ b/pve-rs/Makefile @@ -43,7 +43,7 @@ all: PVE cargo build $(CARGO_BUILD_ARGS) mkdir -p test/Proxmox/Lib sed -r -e \ - 's@^sub libdirs.*$$@sub libdirs { return ("./target/$(TARGET_DIR)", "./../target/$(TARGET_DIR)"); }@' \ + 's@^sub libfile.*$$@sub libfile { "$(shell pwd)/target/$(TARGET_DIR)/libpve_rs.so"; }@' \ Proxmox/Lib/PVE.pm >test/Proxmox/Lib/PVE.pm Proxmox PVE: Proxmox/Lib/PVE.pm