eddic / fastcgipp

fastcgi++: A C++ FastCGI and Web development platform:
https://fastcgipp.isatec.ca
GNU Lesser General Public License v3.0
310 stars 94 forks source link

How to build fastcgi++ as a static library libfastcgipp.a #81

Closed bstarynk closed 4 years ago

bstarynk commented 4 years ago

Hello, I am not familiar with cmake; I just know how to run it.

I am however very familiar with Linux on the command line.

It would be nice if we could make libfastcgipp.a because of various C++ ABI issues on Linux (e.g. the libstdc++.so could be different on my Linux laptop and on the Linux VPS I am renting).

BTW, I could soon use libfastcgipp.so in the http://refpersys.org/ project

Regards


Basile Starynkevitch basile@starynkevitch.net (near Paris, France)

eddic commented 4 years ago

Yeah the current build definition has accommodation for building static versions of the libraries. Just pass -DBUILD_STATIC_LIBS=true. Hopefully this fits the bill for you and fastcgi++ finds a place in RefPerSys. Enjoy!