summaryrefslogtreecommitdiff
path: root/rust/binaryninjacore-sys
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2023-08-01 14:55:19 +0800
committerXusheng <xusheng@vector35.com>2023-09-28 11:22:06 +0800
commitbd78fe4b68031ceccca3365ab4fc7c3333cc961c (patch)
treecd82180ac6b58e8a9f4c9c7fd2594f042099417c /rust/binaryninjacore-sys
parent28b494ece6241694ba91c762d92aa15693d60ef1 (diff)
Fix demo build issue on Linux due to failure to create symlink for libbinaryninjacore.so.1
Diffstat (limited to 'rust/binaryninjacore-sys')
-rw-r--r--rust/binaryninjacore-sys/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/binaryninjacore-sys/build.rs b/rust/binaryninjacore-sys/build.rs
index 451a70e6..be73aba8 100644
--- a/rust/binaryninjacore-sys/build.rs
+++ b/rust/binaryninjacore-sys/build.rs
@@ -61,7 +61,7 @@ fn main() {
#[cfg(target_os = "linux")]
{
let symlink_target = PathBuf::from(&out_dir).join("libbinaryninjacore.so");
- if !link_path.join("libbinaryninjacore.so").exists() && !symlink_target.exists() {
+ if link_path.join("libbinaryninjacore.so.1").exists() && !symlink_target.exists() {
use std::os::unix::fs;
fs::symlink(
link_path.join("libbinaryninjacore.so.1"),