add 'shared' config to vendor libraries

This commit is contained in:
flysand7 committed 2023-10-14 21:21:34 +11:00
1 parent 77210ffa56
commit cf937c6341
15 files changed
+249 -77

No files matched your search

+5
View File
@@ -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",