You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
829 B
27 lines
829 B
5 years ago
|
Index: processor-trace-2.0/libipt/CMakeLists.txt
|
||
|
===================================================================
|
||
|
--- processor-trace-2.0.orig/libipt/CMakeLists.txt
|
||
|
+++ processor-trace-2.0/libipt/CMakeLists.txt
|
||
|
@@ -85,7 +85,7 @@ endif (CMAKE_HOST_WIN32)
|
||
|
|
||
|
set(LIBIPT_FILES ${LIBIPT_FILES} ${LIBIPT_SECTION_FILES})
|
||
|
|
||
|
-add_library(libipt SHARED
|
||
|
+add_library(libipt STATIC
|
||
|
${LIBIPT_FILES}
|
||
|
)
|
||
|
|
||
|
Index: processor-trace-2.0/libipt/src/posix/init.c
|
||
|
===================================================================
|
||
|
--- processor-trace-2.0.orig/libipt/src/posix/init.c
|
||
|
+++ processor-trace-2.0/libipt/src/posix/init.c
|
||
|
@@ -29,7 +29,7 @@
|
||
|
#include "pt_ild.h"
|
||
|
|
||
|
|
||
|
-static void __attribute__((constructor)) init(void)
|
||
|
+void __libipt_init(void)
|
||
|
{
|
||
|
/* Initialize the Intel(R) Processor Trace instruction decoder. */
|
||
|
pt_ild_init();
|