From 35d4e449e1817da5818700dfd1edbaaafa263525 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 28 Jan 2015 04:54:31 +0800 Subject: [PATCH] Makefile: avoid generating capstone.pc if BUILD_CORE_ONLY=yes --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 24d535ff..e6bab385 100644 --- a/Makefile +++ b/Makefile @@ -352,12 +352,14 @@ endif endif $(PKGCFGF): +ifeq (,$(findstring yes,$(BUILD_CORE_ONLY))) ifeq ($(V),0) $(call log,GEN,$(@:$(BLDIR)/%=%)) @$(generate-pkgcfg) else $(generate-pkgcfg) endif +endif install: $(PKGCFGF) $(ARCHIVE) $(LIBRARY) mkdir -p $(LIBDIR)