mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
libffi
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Usage: $ build.sh <output-dir>
|
||||
|
||||
OUT_PREFIX=$1
|
||||
SOURCE_TARBALL='ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz'
|
||||
|
||||
curl $SOURCE_TARBALL | tar xz
|
||||
# jx
|
||||
mv libffi-3.0.13 libffi
|
||||
|
||||
cd libffi
|
||||
./configure --prefix=$OUT_PREFIX
|
||||
make
|
||||
make install
|
||||
|
||||
# Cleanup
|
||||
cd ..
|
||||
rm -fr libffi
|
||||
Reference in New Issue
Block a user