File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ matrix:
25
25
MACOSX_DEPLOYMENT_TARGET=10.7
26
26
os : osx
27
27
before_install :
28
+ - export OPENSSL_DIR=`brew --prefix openssl`
28
29
- export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
29
30
- export OPENSSL_LIB_DIR=`brew --prefix openssl`/include
30
31
- env : TARGET=i686-apple-darwin
@@ -33,6 +34,7 @@ matrix:
33
34
CFG_DISABLE_CROSS_TESTS=1
34
35
os : osx
35
36
before_install :
37
+ - export OPENSSL_DIR=`brew --prefix openssl`
36
38
- export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
37
39
- export OPENSSL_LIB_DIR=`brew --prefix openssl`/include
38
40
Original file line number Diff line number Diff line change @@ -251,10 +251,12 @@ target/openssl/$(1).stamp: target/openssl/openssl-$$(OPENSSL_VERS).tar.gz \
251
251
252
252
# variables read by various build scripts to find openssl
253
253
cargo-$(1 ) : export OPENSSL_STATIC := 1
254
+ cargo-$(1 ) : export OPENSSL_DIR := $$(OPENSSL_INSTALL_$(1 ) )
254
255
cargo-$(1 ) : export OPENSSL_ROOT_DIR := $$(OPENSSL_INSTALL_$(1 ) )
255
256
cargo-$(1 ) : export OPENSSL_LIB_DIR := $$(OPENSSL_INSTALL_$(1 ) ) /lib
256
257
cargo-$(1 ) : export OPENSSL_INCLUDE_DIR := $$(OPENSSL_INSTALL_$(1 ) ) /include
257
258
test-unit-$(1 ) : export OPENSSL_STATIC := 1
259
+ test-unit-$(1 ) : export OPENSSL_DIR := $$(OPENSSL_INSTALL_$(1 ) )
258
260
test-unit-$(1 ) : export OPENSSL_ROOT_DIR := $$(OPENSSL_INSTALL_$(1 ) )
259
261
test-unit-$(1 ) : export OPENSSL_LIB_DIR := $$(OPENSSL_INSTALL_$(1 ) ) /lib
260
262
test-unit-$(1 ) : export OPENSSL_INCLUDE_DIR := $$(OPENSSL_INSTALL_$(1 ) ) /include
You can’t perform that action at this time.
0 commit comments