mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 06:18:39 +00:00
Merge pull request #6099 from figuerom16/master
vendor:compress/lz4 wasn't finding lz4 for Non-Windows targets.
This commit is contained in:
2
vendor/compress/lz4/lz4.odin
vendored
2
vendor/compress/lz4/lz4.odin
vendored
@@ -4,6 +4,8 @@ package vendor_compress_lz4
|
||||
when ODIN_OS == .Windows {
|
||||
@(extra_linker_flags="/NODEFAULTLIB:libcmt")
|
||||
foreign import lib { "lib/liblz4_static.lib", "system:ucrt.lib" }
|
||||
} else {
|
||||
foreign import lib "system:lz4"
|
||||
}
|
||||
|
||||
import "core:c"
|
||||
|
||||
Reference in New Issue
Block a user