forked from Mirrors/flatpak-builder
builder: Fix ldflags support
Due to a cut-and-paste error we set it to cxxflags, not ldflags.tingping/wmclass
parent
93e13a42ec
commit
5cd90e416f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue