archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pahole / repos / testing-x86_64 / python.diff
blobf4ff1b6e925fe7363184ef979f948efcd45d40fc
1 diff --git i/CMakeLists.txt w/CMakeLists.txt
2 index 4140574..4bfe743 100644
3 --- i/CMakeLists.txt
4 +++ w/CMakeLists.txt
5 @@ -187,6 +187,7 @@ install(FILES dwarves.h dwarves_emit.h dwarves_reorganize.h
6 install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/)
7 install(PROGRAMS ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
8 install(PROGRAMS btfdiff fullcircle DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
9 -install(FILES ostra/python/ostra.py DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dwarves/runtime/python)
10 +find_package(Python3)
11 +install(FILES ostra/python/ostra.py DESTINATION ${Python3_SITELIB})
12 install(FILES lib/Makefile lib/ctracer_relay.c lib/ctracer_relay.h lib/linux.blacklist.cu
13 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dwarves/runtime)