build: validate that system capstone works before using it
commit8f4aea712ffc4f2c20c293dac26df8688f497a9f
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Jul 2021 14:29:31 +0000 (9 15:29 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 14 Jul 2021 13:31:48 +0000 (14 14:31 +0100)
tree49aa76e54f006e4d1ee78d08b9802ef21cfbd582
parenta1b176f9046a94ae963099a055cde2323dc7c012
build: validate that system capstone works before using it

Some versions of capstone have shipped a broken pkg-config file which
puts the -I path without the trailing '/capstone' suffix. This breaks
the ability to "#include <capstone.h>". Upstream and most distros have
fixed this, but a few stragglers remain, notably FreeBSD.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210625172211.451010-2-berrange@redhat.com>
Message-Id: <20210709143005.1554-7-alex.bennee@linaro.org>
meson.build