Skip to content

libssh2: setting backend to openssl3 doesn't take effect. #7678

@woshituzhi1

Description

@woshituzhi1

Xmake Version

xmake v2.9.4+master.ad3f49d

Operating System Version and Architecture

Linux centos7 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Describe Bug

libssh2: setting backend to openssl3 doesn't take effect.

Expected Behavior

backend use openssl3

Project Configuration

xrepo_package("libssh2 1.11.1" MODE ${CMAKE_BUILD_TYPE} DEPS CONFIGS "shared=false,backend=openssl3" DIRECTORY_SCOPE)

Additional Information and Error Logs

-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/devtoolset-10/root/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/devtoolset-10/root/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
-- xmake command: /home/lhz/ftp_tools/target/xmake/install/bin/xmake
-- xrepo: fetch --json: ON
-- xrepo: CMAKE_C_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/cc CMAKE_CXX_COMPILER=/opt/rh/devtoolset-10/root/usr/bin/c++ using system default toolchain.
-- xrepo: /home/lhz/ftp_tools/target/xmake/install/bin/xmake lua private.xrepo install --configs=shared=false,backend=openssl3 libssh2 1.11.1
-- xrepo: libssh2_INCLUDE_DIRS /root/.xmake/packages/l/libssh2/1.11.1/fbefec785529491f8c437c875dd9b545/include;/root/.xmake/packages/o/openssl/1.1.1-w/e68408ff21e34531bcb941e96e20e2cd/include;/root/.xmake/packages/z/zlib/v1.3.1/f61a9da2bbc748428d40ece58652f141/include
-- xrepo: libssh2_LIBRARY_DIRS /root/.xmake/packages/l/libssh2/1.11.1/fbefec785529491f8c437c875dd9b545/lib;/root/.xmake/packages/o/openssl/1.1.1-w/e68408ff21e34531bcb941e96e20e2cd/lib;/root/.xmake/packages/z/zlib/v1.3.1/f61a9da2bbc748428d40ece58652f141/lib
-- xrepo: libssh2_LINK_LIBRARIES ssh2;ssl;crypto;z
-- xrepo: libssh2_SYS_LIBRARIES pthread;dl
-- xrepo: libssh2 prepend to CMAKE_PREFIX_PATH: /root/.xmake/packages/l/libssh2/1.11.1/fbefec785529491f8c437c875dd9b545
-- xrepo: libssh2 prepend to CMAKE_PREFIX_PATH: /root/.xmake/packages/o/openssl/1.1.1-w/e68408ff21e34531bcb941e96e20e2cd
-- xrepo: libssh2 prepend to CMAKE_PREFIX_PATH: /root/.xmake/packages/z/zlib/v1.3.1/f61a9da2bbc748428d40ece58652f141
-- xrepo: directory scope include_directories(/root/.xmake/packages/l/libssh2/1.11.1/fbefec785529491f8c437c875dd9b545/include;/root/.xmake/packages/o/openssl/1.1.1-w/e68408ff21e34531bcb941e96e20e2cd/include;/root/.xmake/packages/z/zlib/v1.3.1/f61a9da2bbc748428d40ece58652f141/include)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions