Hello,
I wanted to build capstone with CAPSTONE_BUILD_CORE_ONLY=yes because I don't need cstool and the others things.
The build is correct, not building cstool, but the install (and others rules) don't check about CAPSTONE_BUILD_CORE_ONLY before trying to use / delete cstool binary.
So, when I do
make CAPSTONE_BUILD_CORE_ONLY=yes
and then
make install CAPSTONE_BUILD_CORE_ONLY=yes
I get and error because cstool/cstool doesn't exist.
I'm doing a pull request to fix it.
Hello,
I wanted to build capstone with
CAPSTONE_BUILD_CORE_ONLY=yesbecause I don't needcstooland the others things.The build is correct, not building
cstool, but the install (and others rules) don't check aboutCAPSTONE_BUILD_CORE_ONLYbefore trying to use / deletecstoolbinary.So, when I do
make CAPSTONE_BUILD_CORE_ONLY=yesand then
make install CAPSTONE_BUILD_CORE_ONLY=yesI get and error because cstool/cstool doesn't exist.
I'm doing a pull request to fix it.