File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 145
145
project_dir = options .source_dir
146
146
project_name = basename (project_dir )
147
147
project_temp = project_dir
148
- lib_symbols = [] + options .macros
148
+ lib_symbols = []
149
+ if options .macros :
150
+ lib_symbols += options .macros
149
151
zip = False # don't create zip
150
152
clean = False # don't cleanup because we use the actual source tree to generate IDE files
151
153
else :
179
181
# Some libraries have extra macros (called by exporter symbols) to we need to pass
180
182
# them to maintain compilation macros integrity between compiled library and
181
183
# header files we might use with it
182
- lib_symbols = [] + options .macros
184
+ lib_symbols = []
185
+ if options .macros :
186
+ lib_symbols += options .macros
183
187
for lib in LIBRARIES :
184
188
if lib ['build_dir' ] in test .dependencies :
185
189
lib_macros = lib .get ('macros' , None )
You can’t perform that action at this time.
0 commit comments