forked from platformio/platformio-core
Add user libraries before built-in (frameworks, toolchains)
This commit is contained in:
@ -65,8 +65,8 @@ def BuildProgram(env):
|
|||||||
# restore PIO macros if it was deleted by framework
|
# restore PIO macros if it was deleted by framework
|
||||||
_append_pio_macros()
|
_append_pio_macros()
|
||||||
|
|
||||||
# build dependent libs
|
# build dependent libs; place them before built-in libs
|
||||||
env.Append(LIBS=env.BuildProjectLibraries())
|
env.Prepend(LIBS=env.BuildProjectLibraries())
|
||||||
|
|
||||||
# append specified LD_SCRIPT
|
# append specified LD_SCRIPT
|
||||||
if ("LDSCRIPT_PATH" in env
|
if ("LDSCRIPT_PATH" in env
|
||||||
|
Reference in New Issue
Block a user