From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emOAa-0003rQ-JM for qemu-devel@nongnu.org; Thu, 15 Feb 2018 13:22:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emOAZ-0006tY-Nk for qemu-devel@nongnu.org; Thu, 15 Feb 2018 13:22:08 -0500 Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:41843 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emOAZ-0006t5-HN for qemu-devel@nongnu.org; Thu, 15 Feb 2018 13:22:07 -0500 Date: Thu, 15 Feb 2018 18:21:53 +0000 From: Sergei Trofimovich Message-ID: <20180215182153.3696ad5f@sf> In-Reply-To: <20180215173539.11033-1-f4bug@amsat.org> References: <20180215173539.11033-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH] capstone: fix building using system package List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: Richard Henderson , Mike Frysinger , =?UTF-8?B?Wm9sdMOhbg==?= Mizsei , "Daniel P . Berrange" , Eric Blake , =?UTF-8?B?TWFyYy1BbmRyw6k=?= Lureau , Paolo Bonzini , Alexey Kardashevskiy , Thomas Huth , qemu-devel@nongnu.org On Thu, 15 Feb 2018 14:35:39 -0300 Philippe Mathieu-Daud=C3=A9 wrote: > #else > +#include I think it's incorrect. 'pkg-config' already reports 'capstone/' path: $ pkg-config --cflags capstone -I/usr/include/capstone $ ls /usr/include/capstone/capstone.h /usr/include/capstone/capstone.h Thus I would guess #include is still correct for system include path as well (contradicts the example). qemu just needs to use 'pkg-config' to discover the include path and libs. Maybe new capstone release has different pkgconfig setup? --=20 Sergei