Commit 9c72eee0 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

cerbero: Also prepend LDFLAGS when setting toolchain env

Otherwise LDFLAGS is incorrect.

Part-of: <gstreamer/cerbero!480>
parent ea80f34a
......@@ -206,8 +206,9 @@ class ModifyEnvBase:
# Set the toolchain environment
for var, val in toolchain_env:
# We prepend PATH and replace the rest
if var == 'PATH':
# PATH and LDFLAGS are already set in self.env by, so we
# need to prepend those.
if var in ('PATH', 'LDFLAGS'):
self.prepend_env(var, val.get(), sep=val.sep)
self.set_env(var, val.get(), sep=val.sep)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment