Page MenuHomePhorge

Build on a platform other than GNU/Linux
Open, NormalPublicFEATURE REQUEST

Description

The Makefile approach to build a shared lib is apparently not portable ( https://iron.lily-is.land/rVB68191c909c95c9090744af16563af8a1621b3d4d ).

It would be nice to use some build system like CMake. But cc::Build does not support building shared libs ( https://github.com/rust-lang/cc-rs/issues/250 , https://github.com/rust-lang-nursery/rust-cookbook/issues/294 ) or maybe it does but I don't know how to do it ( https://github.com/j-haj/rust-lib-linking/blob/master/dylib-link/build.rs , but apparently the one from cxx-build will give me a "liblibvodozemac.so.a" static library if I ask it to build "libvodozemac.so"). Also unpacking the static lib and re-linking them into a shared lib is apparently a hack.