VirtualBox

Changeset 37260 in vbox


Ignore:
Timestamp:
May 30, 2011 1:46:43 PM (14 years ago)
Author:
vboxsync
Message:

openssl compile fix

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r37254 r37260  
    24122412SDK_VBOX_BLD_OPENSSL      = .
    24132413SDK_VBOX_BLD_OPENSSL_EXTENDS = VBOX_OPENSSL
    2414 SDK_VBOX_BLD_OPENSSL_LIBS ?= $(PATH_LIB)/VBoxBldProg-libcrypto$(VBOX_SUFF_LIB)
     2414SDK_VBOX_BLD_OPENSSL_LIBS ?= \
     2415        $(PATH_LIB)/VBoxBldProg-libcrypto$(VBOX_SUFF_LIB) \
     2416        $(PATH_LIB)/VBoxBldProg-libssl$(VBOX_SUFF_LIB)
    24152417
    24162418ifdef VBOX_WITH_S3
  • trunk/configure

    r37199 r37260  
    111111MKISOFS="mkisofs"
    112112INCCRYPTO=""
    113 LIBCRYPTO="-lcrypto"
     113LIBCRYPTO="-lcrypto -lssl"
    114114LIBPTHREAD="-lpthread"
    115115LIBCAP="-lcap"
     
    839839#include <cstdio>
    840840#include <openssl/opensslv.h>
     841#include <openssl/ssl.h>
    841842extern "C" int main(void)
    842843{
    843844  printf("found version %s", OPENSSL_VERSION_TEXT);
     845  SSL_library_init();
    844846#if OPENSSL_VERSION_NUMBER >= 0x00908000
    845847  printf(", OK.\n");
Note: See TracChangeset for help on using the changeset viewer.

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