Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(radare): Fix Radare Support #300

Merged
merged 1 commit into from
Sep 27, 2023
Merged

fix(radare): Fix Radare Support #300

merged 1 commit into from
Sep 27, 2023

Conversation

cvonelm
Copy link
Member

@cvonelm cvonelm commented Aug 21, 2023

There were breaking API changes in Radare.

Furthermore our homegrown Radare CMake Script did not work with newer Radare versions, so use pkg-config instead

This fixes #286

CMakeLists.txt Outdated Show resolved Hide resolved
src/radare.cpp Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
src/radare.cpp Show resolved Hide resolved
src/radare.cpp Show resolved Hide resolved
CMakeLists.txt Outdated
Comment on lines 273 to 274
target_include_directories(lo2s PRIVATE ${Radare_INCLUDE_DIRS})
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Radare_CFLAGS}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
target_include_directories(lo2s PRIVATE ${Radare_INCLUDE_DIRS})
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${Radare_CFLAGS}")

That's not required when you use CMake targets.

Version 5.8.0 of Radare2 introduced breaking API changes. This commit
fixes them and bumps the minimum Radare2 version requirement.

Furthermore our homegrown Radare CMake Script did not work with newer
Radare versions, so use pkg-config instead.
@cvonelm cvonelm merged commit 14506b3 into master Sep 27, 2023
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libradare support broken
2 participants