Skip to content

Commit

Permalink
ci: hardcode cmake libdir
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxinal committed Aug 9, 2024
1 parent 33ff1e4 commit 60d3507
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uiohook-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ fn main() {
.define("USE_XINERAMA", "OFF")
.define("USE_XTEST", "OFF")
.define("USE_XT", "OFF")
.define("CMAKE_INSTALL_LIBDIR", "lib")
.build();
println!("cargo:rustc-link-search=native={}/lib64", dst.display());
println!("cargo:rustc-link-search=native={}/lib", dst.display());
println!("cargo:rustc-link-lib=static=uiohook");
println!("cargo:rustc-link-lib=X11");
println!("cargo:rustc-link-lib=xcb");
Expand Down

0 comments on commit 60d3507

Please sign in to comment.