0

I need the library Cyrus SASL as a static library on Windows (https://cyrusimap.org/mediawiki/index.php/Downloads#SASL_Library)

How to do that ?

devopsfun
  • 1,368
  • 2
  • 15
  • 37
  • Don't use SASL. It is AGPL meaning your app also becomes AGPL. Even if you run it on the server, you must publish all your source code. – rustyx Apr 06 '16 at 09:11

1 Answers1

1

As far as I know, you will need a MinGW and MSYS environment and then just build the SASL from sources like it were on Unix-like, i. e.

./configure
make
make install

You will get some *.a files -- those are static libraries, built with MinGW, they should work for Windows. I'm still checking this topic, so I'll add some more info if I'm done with it.

For more reference about building projects from sources check the INSTALL file in your project's root directory, i. e. cyrus-sasl-<version>/INSTALL

upd: this seems to be not an easy thing to do, check out this article

upd2: if you prefer Visual Studio, you could check this rather outdated howto.

upd3: in general good article from GNU

Asalle
  • 1,239
  • 19
  • 41