capstone: fix x86 build (#1091)

This commit is contained in:
Calvin Hill
2017-01-21 15:30:02 +00:00
committed by Adrien Destugues
parent 5429ed366b
commit 8698aab584

View File

@@ -18,7 +18,7 @@ LICENSE="BSD (3-clause)"
COPYRIGHT="2013-2015, COSEINC"
REVISION="1"
ARCHITECTURES="?x86"
ARCHITECTURES="x86"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="https://github.com/aquynh/capstone/archive/$portVersion.tar.gz"
@@ -54,13 +54,15 @@ BUILD_PREREQUIRES="
BUILD()
{
./make.sh default LIBDIRARCH=$relativeLibDir
export LIBDIRARCH=$relativeLibDir
./make.sh default
}
INSTALL()
{
export PREFIX=$prefix
./make.sh install LIBDIRARCH=$relativeLibDir
export LIBDIRARCH=$relativeLibDir
./make.sh install
prepareInstalledDevelLib libcapstone
fixPkgconfig
packageEntries devel $developDir