From 9e2a26a632bc8db5c67ccfd6a1eb8d4a991cdb9a Mon Sep 17 00:00:00 2001 From: Charlie Curtsinger Date: Tue, 15 Oct 2019 08:47:54 -0500 Subject: [PATCH] Generate libelfin cflags with pkg-config --- libcoz/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcoz/Makefile b/libcoz/Makefile index 88ade63..0a2bbf9 100644 --- a/libcoz/Makefile +++ b/libcoz/Makefile @@ -1,7 +1,8 @@ ROOT := .. TARGETS := libcoz.so LIBS := -ldl -lrt -lpthread $(shell pkg-config --libs libelf++ libdwarf++) -CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. +CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. \ + $(shell pkg-config --cflags libelf++ libdwarf++) include $(ROOT)/common.mk