Skip to content

Commit d425254

Browse files
AKoskovichluk1337
authored andcommitted
extract_utils: fix empty shared_libs for libraries without any
A case where this happens is with NXP firmware installed under /vendor/lib[64]. Change-Id: Ie31d6e12d1ec5a7e7148fd2c883f3a389d9368b9
1 parent 19cfa2c commit d425254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract_utils/bp_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def target(
223223
arch = MACHINE_TARGET_MAP[machine]
224224
target[arch] = {'srcs': [rel_path]}
225225

226-
if deps is not None:
226+
if deps:
227227
target[arch]['shared_libs'] = deps
228228

229229
return self

0 commit comments

Comments
 (0)