diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/cramjam/files | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/cramjam/files')
| -rw-r--r-- | dev-python/cramjam/files/lz4-sys-unbundle-lz4.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-python/cramjam/files/lz4-sys-unbundle-lz4.patch b/dev-python/cramjam/files/lz4-sys-unbundle-lz4.patch deleted file mode 100644 index c17d47a558c3..000000000000 --- a/dev-python/cramjam/files/lz4-sys-unbundle-lz4.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/lz4-sys/Cargo.toml b/lz4-sys/Cargo.toml -index 033f2eddc..4001ecd66 100644 ---- a/lz4-sys/Cargo.toml -+++ b/lz4-sys/Cargo.toml -@@ -1,0 +1,2 @@ libc = "0.2.44" -+[build-dependencies.pkg-config] -+version = "0.3.9" -diff --git a/lz4-sys/build.rs b/lz4-sys/build.rs -index c69d25716..32a69f418 100644 ---- a/lz4-sys/build.rs -+++ b/lz4-sys/build.rs -@@ -15,6 +15,18 @@ fn main() { - } - - fn run() -> Result<(), Box<dyn Error>> { -+ let target = get_from_env("TARGET")?; -+ -+ if !target.contains("windows") -+ && pkg_config::Config::new() -+ .print_system_libs(false) -+ .cargo_metadata(true) -+ .probe("liblz4") -+ .is_ok() -+ { -+ return Ok(()); -+ } -+ - let mut compiler = cc::Build::new(); - compiler - .file("liblz4/lib/lz4.c") -@@ -24,7 +36,6 @@ fn run() -> Result<(), Box<dyn Error>> { - // We always compile the C with optimization, because otherwise it is 20x slower. - .opt_level(3); - -- let target = get_from_env("TARGET")?; - if target.contains("windows") { - if target == "i686-pc-windows-gnu" { - // Disable auto-vectorization for 32-bit MinGW target. |
