From 57b84789c05bd69f14f3b9babe785d77042daa13 Mon Sep 17 00:00:00 2001 From: Valeriy Koval Date: Mon, 16 Mar 2015 12:10:15 +0200 Subject: [PATCH] Fix "mbed" framework // Resolve #122 --- platformio/builder/scripts/frameworks/mbed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio/builder/scripts/frameworks/mbed.py b/platformio/builder/scripts/frameworks/mbed.py index 742ff859..fec239f4 100644 --- a/platformio/builder/scripts/frameworks/mbed.py +++ b/platformio/builder/scripts/frameworks/mbed.py @@ -125,8 +125,7 @@ for lib_path in eixdata.get("CPPPATH"): env.Append( LIBPATH=[join(variant_dir, lib_path) for lib_path in eixdata.get("LIBPATH", []) - if lib_path.startswith("mbed")], - LIBS=["mbed"] + if lib_path.startswith("mbed")] ) # @@ -134,6 +133,7 @@ env.Append( # libs = [l for l in eixdata.get("STDLIBS", []) if l not in env.get("LIBS")] +libs.append("mbed") libs.append(env.Library( join("$BUILD_DIR", "FrameworkMbed"),