Skip to content

Instantly share code, notes, and snippets.

@m4tx
Created May 16, 2018 17:58
Show Gist options
  • Save m4tx/5bb356a5b9942a5d0ee3a1548331e7b8 to your computer and use it in GitHub Desktop.
Save m4tx/5bb356a5b9942a5d0ee3a1548331e7b8 to your computer and use it in GitHub Desktop.
edb 1.0.0 plugin_path.patch for AUR
diff -ruN 1/src/CMakeLists.txt 2/src/CMakeLists.txt
--- 2/src/CMakeLists.txt 2016-09-28 23:02:41.000000000 +0200
+++ 2/src/CMakeLists.txt 2016-10-07 00:34:34.000000000 +0200
@@ -46,7 +46,7 @@
set(GIT_BRANCH "Unknown")
endif()
add_definitions(-DGIT_BRANCH=${GIT_BRANCH})
-add_definitions(-DDEFAULT_PLUGIN_PATH=\"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/edb\")
+add_definitions(-DDEFAULT_PLUGIN_PATH=\"${CMAKE_INSTALL_LIBDIR}/edb\")
include_directories(
"capstone-edb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment