Browse Source

Merge pull request #2787 from laytan/fix-commonmark

fix commonmark import
gingerBill 1 year ago
parent
commit
e7abc05931
1 changed files with 1 additions and 3 deletions
  1. 1 3
      vendor/commonmark/cmark.odin

+ 1 - 3
vendor/commonmark/cmark.odin

@@ -17,9 +17,7 @@ when ODIN_OS == .Windows {
 		"cmark_static.lib",
 	}
 } else when ODIN_OS == .Linux {
-	foreign import lib {
-		"libcmark.a",
-	}
+	foreign import lib "system:cmark"
 }
 
 Option :: enum c.int {