From 7355e5610ce88d77f553646e4302e2bbcc0c1f3b Mon Sep 17 00:00:00 2001 From: rwmjones Date: Sat, 12 Jan 2019 06:07:02 +0000 Subject: [PATCH] Fix include path in pkg-config for Makefile too (#1339). (#1340) Commit 0a39b785d3 fixed the pkg-config include path when using cmake. However it didn't fix it for the Makefile. This fixes the Makefile path. Signed-off-by: Richard W.M. Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b6188176..7c0e20b57 100644 --- a/Makefile +++ b/Makefile @@ -532,7 +532,7 @@ define generate-pkgcfg echo 'Description: Capstone disassembly engine' >> $(PKGCFGF) echo 'Version: $(PKG_VERSION)' >> $(PKGCFGF) echo 'libdir=$(LIBDIR)' >> $(PKGCFGF) - echo 'includedir=$(INCDIR)' >> $(PKGCFGF) + echo 'includedir=$(INCDIR)/capstone' >> $(PKGCFGF) echo 'archive=$${libdir}/libcapstone.a' >> $(PKGCFGF) echo 'Libs: -L$${libdir} -lcapstone' >> $(PKGCFGF) echo 'Cflags: -I$${includedir}' >> $(PKGCFGF)