Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
3a426d13
Commit
3a426d13
authored
Feb 08, 2013
by
Jeremy Kemper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rely on OpenSSL to pick the right arch. Hint that we prefer 64-bit.
parent
92635abd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
bin/ruby-build
+3
-9
No files found.
bin/ruby-build
View file @
3a426d13
...
...
@@ -531,15 +531,9 @@ build_package_mac_openssl() {
# Tell Ruby to use this openssl for its extension.
package_option ruby configure
--with-openssl-dir
=
"
$OPENSSL_PREFIX_PATH
"
# Normally, we'd use ./config to automatically guess our platform. But
# that doesn't work for 64-bit Darwin: it picks 32-bit by default and
# asks you to run ./Configure by hand if you want 64-bit. So, here we are:
if
[
"
$(
uname
-m
)
"
=
"x86_64"
]
;
then
local
platform
=
"darwin64-x86_64-cc"
else
local
platform
=
"darwin-i386-cc"
fi
OPENSSL_CONFIGURE
=
"
${
OPENSSL_CONFIGURE
:-
perl
./Configure
$platform
}
"
# Hint OpenSSL that we prefer a 64-bit build.
export
KERNEL_BITS
=
"64"
OPENSSL_CONFIGURE
=
"
${
OPENSSL_CONFIGURE
:-
./config
}
"
# Compile with zlib, no kerberos, and do a static build.
package_option openssl configure
--openssldir
=
"
$OPENSSLDIR
"
zlib no-krb5 no-shared
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment