aklomp / base64

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
BSD 2-Clause "Simplified" License
866 stars 162 forks source link

Is shared library supported? #70

Closed xjy198903 closed 2 years ago

xjy198903 commented 3 years ago

I want to build the library as a shared library(may be called libbase64.so),any suggestions?

aklomp commented 3 years ago

Currently there are no provisions in the Makefile to compile this library as a shared library, but I don't see a reason why it couldn't be done. It would require setting some linker flags, and maybe providing a small linker script.