diff --git a/tracy-edit/build/unix/build.mk b/tracy-edit/build/unix/build.mk index dffcb6cc..85fb7528 100644 --- a/tracy-edit/build/unix/build.mk +++ b/tracy-edit/build/unix/build.mk @@ -1,9 +1,8 @@ CFLAGS += CXXFLAGS := $(CFLAGS) -std=gnu++17 DEFINES += -DTRACY_NO_STATISTICS -INCLUDES := -I../../../capstone/include/capstone -LIBS += -lcapstone -lpthread -LDFLAGS := -L../../../capstone +INCLUDES := $(shell pkg-config --cflags capstone) +LIBS += $(shell pkg-config --libs capstone) -lpthread PROJECT := tracy-edit IMAGE := $(PROJECT)-$(BUILD)