mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
Nginx hardcode the libxml2 include path to /usr/include/libxml2. This works in a local build as pretty much everyone have the libxml2 library installed but doesn't on buildbot container as the library doesn't exist. This effectively makes the host library leak intro library detection but doesn't actually link to it as linking is still done with the correct library in staging dir. To fix this add a patch to define custom libxml2 include directory instead of hardcoding it to host library. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>