[BUG] linking libhttpserver might fail depending on configuration of libmicrohttpd #232
Open
1 task done
Labels
bug
Confirmed bugs or reports that are very likely to be bugs.
Prerequisites
Description
When linking libhttpserver from an application, linker errors might pop up depending on how libmicrohttpd was configured.
We discovered this when building a custom application in a custom embedded board support package based on ptxdist using the distributed (backported) package rules for libmicrohttpd.
Steps to Reproduce
--disable-dauth
, build and install itExpected behavior:
The application should not need to link libmicrohttpd by itself, because it's only a private dependency of libhttpserver.
Actual behavior:
Link errors happen, when building the application, like this:
Reproduces how often: always
Versions
If you have problems during build:
Additional Information
I know it's hard to get our exact build environment, but I assume the bug description good enough to see what's going on.
Linking libhttpserver from the application works, if libmicrohttpd is configured with
--enable-dauth
. However if libhttpserver unconditionally uses symbols which are optional in libmicrohttpd, it should check on that.The text was updated successfully, but these errors were encountered: