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

475228
Index: processor-trace-2.0/libipt/CMakeLists.txt
475228
===================================================================
475228
--- processor-trace-2.0.orig/libipt/CMakeLists.txt
475228
+++ processor-trace-2.0/libipt/CMakeLists.txt
475228
@@ -85,7 +85,7 @@ endif (CMAKE_HOST_WIN32)
475228
 
475228
 set(LIBIPT_FILES ${LIBIPT_FILES} ${LIBIPT_SECTION_FILES})
475228
 
475228
-add_library(libipt SHARED
475228
+add_library(libipt STATIC
475228
   ${LIBIPT_FILES}
475228
 )
475228
 
475228
Index: processor-trace-2.0/libipt/src/posix/init.c
475228
===================================================================
475228
--- processor-trace-2.0.orig/libipt/src/posix/init.c
475228
+++ processor-trace-2.0/libipt/src/posix/init.c
475228
@@ -29,7 +29,7 @@
475228
 #include "pt_ild.h"
475228
 
475228
 
475228
-static void __attribute__((constructor)) init(void)
475228
+void __libipt_init(void)
475228
 {
475228
 	/* Initialize the Intel(R) Processor Trace instruction decoder. */
475228
 	pt_ild_init();