Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
dd210c90
Commit
dd210c90
authored
Aug 01, 2014
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libffi support?
parent
2ae4bd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
libffi
builds/libraries/vendor/libffi
+10
-6
No files found.
builds/libraries/vendor/libffi
View file @
dd210c90
#!/usr/bin/env bash
#!/usr/bin/env bash
# Build Path: /app/.heroku/vendor/
# Build Path: /app/.heroku/vendor/
# Build Deps: libraries/autoconf
OUT_PREFIX
=
$1
OUT_PREFIX
=
$1
...
@@ -11,14 +10,19 @@ hash -r
...
@@ -11,14 +10,19 @@ hash -r
echo
"Building libffi..."
echo
"Building libffi..."
SOURCE_TARBALL
=
'http
s://github.com/atgreen/libffi/archive/master.tar.gz
'
SOURCE_TARBALL
=
'http
://cl.ly/2s1t1u3v0N0I/download/libffi-3.1.tar
'
curl
-L
$SOURCE_TARBALL
|
tar
xz
curl
-L
$SOURCE_TARBALL
|
tar
xz
mv
libffi-master libffi
cd
libffi
cd
libffi-3.1
./autogen.sh
./configure
--prefix
=
$OUT_PREFIX
--enable-shared
sed
-e
'/^includesdir/ s:$(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:$(includedir):'
\
-i
include/Makefile.in
&&
sed
-e
'/^includedir/ s:${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:@includedir@:'
\
-e
's/^Cflags: -I${includedir}/Cflags:/'
\
-i
libffi.pc.in
&&
./configure
--prefix
=
/usr
--disable-static
&&
make
make
make
install
make
install
...
...
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