builder: Fix ldflags support

Due to a cut-and-paste error we set it to cxxflags, not ldflags.
tingping/wmclass
Alexander Larsson 2017-05-04 09:42:52 +02:00
parent 93e13a42ec
commit 5cd90e416f
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ builder_options_get_env (BuilderOptions *self, BuilderContext *context)
ldflags = builder_options_get_ldflags (self, context);
if (ldflags)
envp = g_environ_setenv (envp, "LDFLAGS", cxxflags, TRUE);
envp = g_environ_setenv (envp, "LDFLAGS", ldflags, TRUE);
return envp;
}