libhttpserver
libhttpserver copied to clipboard
QUESTION 32 bit?
I'm trying to make a 32 bit version.
I think I got libmicrohttp to compile 32 bit because I see the -m32 on the compile and link lines from make and after I installed it my program's compile now fails only trying to get the 32 bit version of libhttpserver
I tried setting CFLAGS and LDFLAGS to "-m32" and also ../configure CFLAGS=-m32 and LDFLAGS=-m32. Both give me "configure: error: "libmicrohttpd not found"" at the end of ../configure
Any help is appreciated. Thanks,
Hey,
I suspect this might be a bug in the configure. The library does a bit of magic to find libmicrohttpd (see: https://github.com/etr/libhttpserver/blob/master/configure.ac#L96 ) without using pkgconfig. I think that code is causing the issue you see. I'll need to play with it a bit to see if it can work the way it is or I need to re-add pkgconfig to support similar use-cases.
Hey, sorry for the late response. Did you try setting CXXFLAGS to -m32 too? That did it for me.