Skip to content

Commit f401c10

Browse files
committed
Link additional framework core libraries
1 parent b3f0321 commit f401c10

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

mbed.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,15 @@ def get_dynamic_manifest(name, config, extra_inc_dirs=[]):
155155
# Process Core files from framework
156156
#
157157

158-
env.Append(CPPPATH=[
159-
join(FRAMEWORK_DIR, d) for d in mbed_config.get("core").get("inc_dirs")
160-
])
158+
env.Append(
159+
CPPPATH=[
160+
join(FRAMEWORK_DIR, d) for d in mbed_config.get("core").get("inc_dirs")
161+
],
162+
163+
LIBS=[
164+
env.File(join(FRAMEWORK_DIR, d)) for d in mbed_config.get("core").get("libraries")
165+
]
166+
)
161167

162168
env.Append(CPPPATH=[
163169
FRAMEWORK_DIR,

0 commit comments

Comments
 (0)