Blame SOURCES/v1.5-libipt-static.patch

7a6771
--- processor-trace-1.5/libipt/CMakeLists.txt-orig	2016-04-07 08:52:14.000000000 +0200
7a6771
+++ processor-trace-1.5/libipt/CMakeLists.txt	2016-08-17 23:12:23.241109244 +0200
7a6771
@@ -81,7 +81,7 @@ endif (CMAKE_HOST_WIN32)
7a6771
 
7a6771
 set(LIBIPT_FILES ${LIBIPT_FILES} ${LIBIPT_SECTION_FILES})
7a6771
 
7a6771
-add_library(libipt SHARED
7a6771
+add_library(libipt STATIC
7a6771
   ${LIBIPT_FILES}
7a6771
 )
7a6771
 
7a6771
--- processor-trace-1.5/libipt/src/posix/init.c-orig	2016-04-07 08:52:14.000000000 +0200
7a6771
+++ processor-trace-1.5/libipt/src/posix/init.c	2016-08-23 09:04:11.540176668 +0200
7a6771
@@ -29,7 +29,7 @@
7a6771
 #include "pt_ild.h"
7a6771
 
7a6771
 
7a6771
-static void __attribute__((constructor)) init(void)
7a6771
+void __libipt_init(void)
7a6771
 {
7a6771
 	/* Initialize the Intel(R) Processor Trace instruction decoder. */
7a6771
 	pt_ild_init();