[PATCH skeleton v8 22/22] Fix Makefile issue

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue May 10 12:10:50 AEST 2016


From: Ken Lai <ken1029 at gmail.com>

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index e2aac60..eb9fac7 100755
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,9 @@ LIBS=$(shell pkg-config --libs gio-unix-2.0 glib-2.0) -Llib -lopenbmc_intf
 INCLUDES += $(shell pkg-config --cflags --libs libsystemd) -I. -O2
 LIB_FLAG += $(shell pkg-config  --libs libsystemd)
 
+INCLUDES_info += $(shell pkg-config --cflags $(DEPPKGS))
+LIBS_info += $(shell pkg-config --libs $(DEPPKGS))
+
 %.o: interfaces/%.c 
 	$(CC) -c -fPIC -o obj/$@ $< $(CFLAGS) $(INCLUDES)
 
-- 
2.8.1




More information about the openbmc mailing list