mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
add 'shared' config to vendor libraries
This commit is contained in:
Vendored
+5
@@ -10,8 +10,13 @@ import "core:c"
|
||||
import "core:c/libc"
|
||||
import "core:runtime"
|
||||
|
||||
COMMONMARK_SHARED :: #config(COMMONMARK_SHARED, false)
|
||||
BINDING_VERSION :: Version_Info{major = 0, minor = 30, patch = 2}
|
||||
|
||||
when COMMONMARK_SHARED {
|
||||
#panic("Shared linking for vendor:commonmark is not supported yet")
|
||||
}
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
foreign import lib {
|
||||
"cmark_static.lib",
|
||||
|
||||
Reference in New Issue
Block a user