Skip to content

Commit

Permalink
Show r2poke version
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Aug 29, 2024
1 parent fecf539 commit ece2da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions r2poke/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LDFLAGS+=$(shell pkg-config --libs r_core)
LDFLAGS+=$(shell pkg-config --libs poke)
R2PM_PLUGDIR?=$(shell r2 -H R2_USER_PLUGINS)
LDFLAGS+=-Wl,-rpath,$(shell r2pm -H R2PM_PREFIX)/lib
CFLAGS+=-DR2POKE_VERSION=\"1.0.0\"

# poke-3.3 doesnt support this, we must wait for 4.0 to enable this
POKE4=$(shell r2pm -r pkg-config --modversion poke| grep ^4 && echo 1)
Expand Down
1 change: 1 addition & 0 deletions r2poke/core_poke.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ RCorePlugin r_core_plugin_poke = {
.name = "poke",
.desc = "GNU/POKE for radare2",
.license = "GPL3",
.version = R2POKE_VERSION
},
.call = r_cmd_poke_call,
.init = r_cmd_poke_init,
Expand Down

0 comments on commit ece2da8

Please sign in to comment.