mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
fix(capstone)
This commit is contained in:
parent
66bb99f5ee
commit
9ea2420de6
1 changed files with 10 additions and 1 deletions
|
@ -17,6 +17,15 @@ build:
|
||||||
./make.sh
|
./make.sh
|
||||||
make install PREFIX={{ prefix }}
|
make install PREFIX={{ prefix }}
|
||||||
|
|
||||||
|
cd "{{prefix}}/include"
|
||||||
|
mv capstone/* .
|
||||||
|
rmdir capstone
|
||||||
|
ln -s . capstone
|
||||||
|
|
||||||
|
cd ../lib/pkgconfig
|
||||||
|
sed -i.bak -e 's_^includedir=.*$_includedir=${libdir}/../include_' capstone.pc
|
||||||
|
rm capstone.pc.bak
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
|
|
Loading…
Reference in a new issue