VirtualBox

Changeset 90415 in vbox


Ignore:
Timestamp:
Jul 29, 2021 6:22:09 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146014
Message:

configure: Deal with static openssl on Linux properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r90402 r90415  
    25252525      OPENSSLDIR=`echo $option | cut -d'=' -f2`
    25262526      INCCRYPTO="-I${OPENSSLDIR}/include"
    2527       LIBCRYPTO="${OPENSSLDIR}/lib/libcrypto.a ${OPENSSLDIR}/lib/libssl.a"
     2527      LIBCRYPTO="${OPENSSLDIR}/lib/libssl.a ${OPENSSLDIR}/lib/libcrypto.a"
    25282528      # On Darwin (at least for macports) static OpenSSL also needs zlib.
    25292529      [ "$OS" = "darwin" ] && LIBCRYPTO="$LIBCRYPTO ${OPENSSLDIR}/lib/libz.a"
     2530      # On Linux static OpenSSL typically needs a few additional libraries.
     2531      [ "$OS" = "linux" ] && LIBCRYPTO="-ldl $LIBPTHREAD -lm"
    25302532      ;;
    25312533    --with-ow-dir=*)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette