We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ae993 commit 709c5e4Copy full SHA for 709c5e4
clink/dll/dll.c
@@ -100,6 +100,11 @@ static BOOL on_dll_attach()
100
101
// Get the inject arguments.
102
get_inject_args(GetCurrentProcessId());
103
+
104
+ // The "clink_profile" environment variable can be used to override --profile
105
+ GetEnvironmentVariable("clink_profile", g_inject_args.profile_path,
106
+ sizeof_array(g_inject_args.profile_path));
107
108
if (g_inject_args.profile_path[0] != '\0')
109
{
110
set_config_dir_override(g_inject_args.profile_path);
0 commit comments