File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,13 @@ def display_files(pathname)
144
144
aux_libraries = Set . new ( config . aux_libraries_for_unittest + config . aux_libraries_for_build )
145
145
# while collecting the platforms, ensure they're defined
146
146
config . platforms_to_unittest . each { |p | all_platforms [ p ] = assured_platform ( "unittest" , p , config ) }
147
+ example_platforms = { }
147
148
library_examples . each do |path |
148
149
ovr_config = config . from_example ( path )
149
- ovr_config . platforms_to_build . each { |p | all_platforms [ p ] = assured_platform ( "library example" , p , config ) }
150
+ ovr_config . platforms_to_build . each do |p |
151
+ # assure the platform if we haven't already
152
+ example_platforms [ p ] = all_platforms [ p ] = assured_platform ( "library example" , p , config ) unless example_platforms . key? ( p )
153
+ end
150
154
aux_libraries . merge ( ovr_config . aux_libraries_for_build )
151
155
end
152
156
You can’t perform that action at this time.
0 commit comments