mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
apache uses pkgconfig to find dependencies such as lua, nhgttp2, openssl and systemd. For openssl, pkgconfig is used since version 2.1.1 and0d4387dedcresulting in the following build failure since at least bump to version 2.4.54 in commit78e5a9c40e: ac_cv_path_PKGCONFIG=/usr/bin/pkg-config [...] configure:28669: checking for SSL_CTX_new configure:28669: /home/buildroot/autobuild/instance-1/output-1/host/bin/armeb-buildroot-linux-uclibcgnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/home/buildroot/autobuild/instance-1/output-1/host/armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/../../../../armeb-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -L/usr/lib conftest.c -lssl -lcrypto -lpthread >&5 armeb-buildroot-linux-uclibcgnueabi-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib' Fixes: - http://autobuild.buildroot.org/results/d85c86ee1070582014c7b29b39f9a9f356988220 - http://autobuild.buildroot.org/results/55d6bad8572138e200730d3a9f2dd1b9048fd95d Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 1f6b53b1a4a6bec05839506013ac29d3a237fbeb) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>