fix segfault: dtrace build on solaris
authorMichael Wallner <mike@php.net>
Tue, 1 Dec 2020 15:30:23 +0000 (16:30 +0100)
committerMichael Wallner <mike@php.net>
Tue, 1 Dec 2020 15:30:23 +0000 (16:30 +0100)
CMake/EnableDtrace.cmake

index 184a327a7fc68f807886dcb387b09628e3ea610d..d9b902babc89297538fea491bbee76fbf42009ab 100644 (file)
@@ -34,7 +34,7 @@ function(enable_dtrace_for TARGET PROBES_D PROBES_H)
             set(PROBES_C ${TARGET}_probes.cc)
             file(GENERATE
                     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PROBES_C}
-                    CONTENT "#include \"${PROBES_H}\""
+                    CONTENT "#include \"${PROBES_H}\"\n"
                     )
             add_custom_command(
                     TARGET ${TARGET}