File capstone.patch of Package hexwalk
Index: hexwalk/hexwalk.pro =================================================================== --- hexwalk.orig/hexwalk.pro +++ hexwalk/hexwalk.pro @@ -1,5 +1,7 @@ QT += charts CONFIG += static +CONFIG += link_pkgconfig +PKGCONFIG += capstone RC_ICONS = images/hexwalk.ico #Only for Windows: win32:QMAKE_LFLAGS += -no-pie -lstdc++ -Bstatic -static-libgcc -static-libstdc++ -static @@ -93,12 +95,12 @@ win32:OBJECTS_DIR = ../build/o/win32 macx:OBJECTS_DIR = ../build/o/mac win32:LIBS += -L$$PWD/../capstone/build/ -lcapstone -unix:LIBS += -L$$PWD/../capstone/ -lcapstone +#unix:LIBS += -L$$PWD/../capstone/ -lcapstone macx:LIBS += -L$$PWD/../capstone/ -lcapstone -INCLUDEPATH += $$PWD/../capstone/include -DEPENDPATH += $$PWD/../capstone/include +#INCLUDEPATH += $$PWD/../capstone/include +#DEPENDPATH += $$PWD/../capstone/include win32: PRE_TARGETDEPS += $$PWD/../capstone/build/libcapstone.a -unix: PRE_TARGETDEPS += $$PWD/../capstone/libcapstone.a +#unix: PRE_TARGETDEPS += $$PWD/../capstone/libcapstone.a macx: PRE_TARGETDEPS += $$PWD/../capstone/libcapstone.a