Skip to content

Commit

Permalink
use pkg-config to get libcapstone config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Rodrigues committed Nov 17, 2023
1 parent e44296a commit 602248d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tracy-edit/build/unix/build.mk
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 602248d

Please sign in to comment.