diff --git a/fpie.patch b/fpie.patch index 00df850..abf2f51 100644 --- a/fpie.patch +++ b/fpie.patch @@ -2,7 +2,7 @@ diff --git a/src/start_kdeinit/CMakeLists.txt b/src/start_kdeinit/CMakeLists.txt index 46d6cb3..31434df 100644 --- a/src/start_kdeinit/CMakeLists.txt +++ b/src/start_kdeinit/CMakeLists.txt -@@ -2,6 +2,11 @@ add_executable(start_kdeinit start_kdeinit.c) +@@ -3,6 +3,11 @@ add_executable(start_kdeinit start_kdeinit.c) if (Libcap_FOUND) target_link_libraries(start_kdeinit ${Libcap_LIBRARIES}) endif() @@ -12,5 +12,5 @@ index 46d6cb3..31434df 100644 +set_property(TARGET start_kdeinit APPEND_STRING PROPERTY LINK_FLAGS " -pie") + add_executable(start_kdeinit_wrapper start_kdeinit_wrapper.c) + ecm_mark_nongui_executable(start_kdeinit_wrapper) - install(TARGETS start_kdeinit DESTINATION ${CMAKE_INSTALL_FULL_LIBEXECDIR_KF5})