Skip to content

Commit

Permalink
fix: move libsolv to crate level for publishing (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra authored Mar 16, 2023
1 parent f1f1ef8 commit 421b568
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "crates/rattler/libsolv"]
path = libsolv
path = crates/rattler_solve/libsolv
url = https://github.com/baszalmstra/libsolv
2 changes: 1 addition & 1 deletion crates/rattler_solve/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn build_libsolv() -> Result<PathBuf> {
let target = std::env::var("TARGET").unwrap();
let is_windows = target.contains("windows");

let p = path::PathBuf::from("./../../libsolv/CMakeLists.txt");
let p = path::PathBuf::from("./libsolv/CMakeLists.txt");
if !p.is_file() {
return Err(anyhow!(
"Bundled libsolv not found, please do `git submodule update --init`."
Expand Down

0 comments on commit 421b568

Please sign in to comment.