[Libwebsockets] how to build libwebsocket package using "configure"

Andy Green andy at warmcat.com
Tue Aug 31 15:00:22 CEST 2021

On 8/31/21 1:48 PM, madhan reddy wrote:
> Thanks Andy,
> We used to pass arguments to "configure" to cross compile in our platforms
> ./configure --host=armeb-buildroot-linux-gnueabi 
> --build=x86_64-pc-linux-gnu --prefix=$PREFIX --enable-ipv6 --disable-manual
> Since we need to use "cmake" to build LWS, how do I pass the same 
> arguments to cmake?

Google cmake and "toolchain file".

Start with this


modify it as needed for your situation.


More information about the Libwebsockets mailing list