Merge branch 'fix-ld-preload-syntax' into 'master'

Fix LD_PRELOAD syntax

See merge request GNOME/sysprof!60
This commit is contained in:
Christian Hergert
2023-01-15 21:04:20 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ sysprof_memprof_source_modify_spawn (SysprofSource *source,
else
sysprof_spawnable_setenv (spawnable,
"LD_PRELOAD",
(freeme = g_strdup_printf ("%s,%s", so_path, ld_preload)));
(freeme = g_strdup_printf ("%s:%s", so_path, ld_preload)));
}
#endif
}

View File

@ -56,7 +56,7 @@ sysprof_preload_source_modify_spawn (SysprofSource *source,
else
sysprof_spawnable_setenv (spawnable,
"LD_PRELOAD",
(freeme = g_strdup_printf ("%s,%s", self->preload, ld_preload)));
(freeme = g_strdup_printf ("%s:%s", self->preload, ld_preload)));
}
#endif
}