amauryt / cr-cmark-gfm

Crystal C bindings for cmark-gfm to work with Commonmark and Github Flavored Markdown
BSD 2-Clause "Simplified" License
20 stars 4 forks source link

Add option for shared library #13

Closed mdwagner closed 9 months ago

mdwagner commented 10 months ago

When trying to utilize Crystal's interpreter, it cannot load static libraries, only shared libraries. Adding a recipe in the Makefile for building shared would be a nice option.

amauryt commented 9 months ago

My apologies, @mdwagner, for the delay in the response.

Unfortunately I don't have much bandwidth at the moment, but a PR is more than welcome.

I saw that you opened a similar issue for the lexbor shard, perhaps there is a likewise solution for this shard. If needed, you can take a look to GitHub's underlying C library.

amauryt commented 9 months ago

Fixed in PR #14