File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,12 @@ def arduino_library_src_dirs(aux_libraries)
317
317
# Pull in all possible places that headers could live, according to the spec:
318
318
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
319
319
320
- aux_libraries . map { |d | self . class . new ( @arduino_lib_dir + d , @arduino_lib_dir , @exclude_dirs ) . header_dirs } . flatten . uniq
320
+ aux_libraries . map do |d |
321
+ # library manager coerces spaces in package names to underscores
322
+ # see https://github.com/ianfixes/arduino_ci/issues/132#issuecomment-518857059
323
+ legal_dir = d . tr ( " " , "_" )
324
+ self . class . new ( @arduino_lib_dir + legal_dir , @arduino_lib_dir , @exclude_dirs ) . header_dirs
325
+ end . flatten . uniq
321
326
end
322
327
323
328
# GCC command line arguments for including aux libraries
You can’t perform that action at this time.
0 commit comments