diff options
Diffstat (limited to 'dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch')
-rw-r--r-- | dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch new file mode 100644 index 000000000000..1ebb74efb36d --- /dev/null +++ b/dev-util/radare2/files/radare2-3.7.0-with-syscapstone-p2.patch @@ -0,0 +1,22 @@ +From 38a10d64fb33484f0e50c3d8f40a6c19c0ee37ec Mon Sep 17 00:00:00 2001 +From: Slava <slava@bacher09.org> +Date: Sun, 4 Aug 2019 04:00:12 +0300 +Subject: [PATCH] Fix build with system capstone (--with-syscapstone) (#14753) + +--- + shlr/capstone.mk | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/shlr/capstone.mk b/shlr/capstone.mk +index b3cc42d24..f1a2de04d 100644 +--- a/shlr/capstone.mk ++++ b/shlr/capstone.mk +@@ -1 +1,5 @@ ++ifeq ($(USE_CAPSTONE),1) ++LINK+=${CAPSTONE_LDFLAGS} ++else + LINK+=$(SHLR)/capstone/libcapstone.a ++endif +-- +2.22.0 + |