From: Haojian Zhuang <haojian.zhuang@linaro.org> In openeuler docker environment, although OpenSSL is compiled and installed into /usr/local/lib. It's not in the search path of pkg-config. So add it by manual in conf.sh. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> --- conf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.sh b/conf.sh index c361fbc..af5f787 100755 --- a/conf.sh +++ b/conf.sh @@ -11,8 +11,8 @@ if [[ $1 && $1 = "--static" ]] || [[ $2 && $2 = "--static" ]]; then COMPILE_TYPE="--enable-static --disable-shared --with-static_drv" fi - -ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ./configure \ +export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH +ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ./configure -v \ --enable-perf=yes \ --host aarch64-linux-gnu \ --target aarch64-linux-gnu \ -- 2.33.0