Skip to content

Commit

Permalink
libffi: Move headers to the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 14, 2015
1 parent b2d0732 commit 86c0e3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions libffi/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
./configure --prefix=$PREFIX
make
make install
if [ -e $PREFIX/lib64 ]; then
mv $PREFIX/lib64/* $PREFIX/lib/
rmdir $PREFIX/lib64
./configure --prefix=$PREFIX || exit 1
make || exit 1
make install || exit 1

cd $PREFIX
rm -rf share
mv lib/libffi-*/include include
if [ `uname -m` == x86_64 ]; then
mv lib64/* lib/
rmdir lib64
fi

2 changes: 1 addition & 1 deletion libffi/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source:
sha1: f5230890dc0be42fb5c58fbf793da253155de106

build:
number: 3
number: 4

about:
home: https://sourceware.org/libffi/
Expand Down

0 comments on commit 86c0e3b

Please sign in to comment.