add 'shared' config to vendor libraries
This commit is contained in:
1 parent
77210ffa56
commit
cf937c6341
15 files changed
+249
-77
No files matched your search
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