File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
# Set OPENSSL_PREFIX in ENV to find the OpenSSL headers
10
10
11
- module Truffle
12
- OPENSSL_PREFIX_WAS_SET = ENV . key? ( 'OPENSSL_PREFIX' )
13
- end
14
-
15
11
search_homebrew = -> homebrew {
16
12
if prefix = "#{ homebrew } /opt/[email protected] " and Dir . exist? ( prefix )
17
13
prefix
Original file line number Diff line number Diff line change @@ -112,7 +112,8 @@ def find_openssl_library
112
112
113
113
# TruffleRuby: do not perform all checks again if extconf.h already exists
114
114
extconf_h = "#{ __dir__ } /extconf.h"
115
- if File . exist? ( extconf_h ) && File . mtime ( extconf_h ) >= File . mtime ( __FILE__ ) && !Truffle ::OPENSSL_PREFIX_WAS_SET
115
+ in_development = ENV . key? ( 'MX_HOME' )
116
+ if in_development && File . exist? ( extconf_h ) && File . mtime ( extconf_h ) >= File . mtime ( __FILE__ )
116
117
$extconf_h = extconf_h
117
118
else
118
119
### START of checks
You can’t perform that action at this time.
0 commit comments