Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt: use pkg-config to find openssl #499

Merged
merged 1 commit into from
Jun 14, 2020
Merged

CMakeLists.txt: use pkg-config to find openssl #499

merged 1 commit into from
Jun 14, 2020

Commits on Jun 14, 2020

  1. CMakeLists.txt: use pkg-config to find openssl

    Use pkg-config to find openssl libraries otherwise minizip will fail to
    retrieve openssl static dependencies such as -latomic and build of
    test_cmd will fail on:
    
    [100%] Linking C executable test_cmd
    /home/test/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/8.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/test/autobuild/run/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(bio_lib.o): in function `BIO_free':
    bio_lib.c:(.text+0x510): undefined reference to `__atomic_fetch_sub_4'
    
    Fixes:
     - http://autobuild.buildroot.org/results/b54b625751a45d3b449fffcdfaa06fb9209b4652
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    ffontaine committed Jun 14, 2020
    Configuration menu
    Copy the full SHA
    1fdf5da View commit details
    Browse the repository at this point in the history