8000 Allow multiple precompiled libraries to be included and linked · arduino/arduino-builder@14b777f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 14b777f

Browse files
committed
Allow multiple precompiled libraries to be included and linked
1 parent 55251c5 commit 14b777f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phases/libraries_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func fixLDFLAGforPrecompiledLibraries(ctx *types.Context, libraries []*types.Lib
9090
name = strings.Replace(name, "lib", "", 1)
9191
libs_cmd += "-l" + name + " "
9292
}
93-
ctx.BuildProperties[constants.BUILD_PROPERTIES_COMPILER_LIBRARIES_LDFLAGS] = "\"-L" + path + "\" " + libs_cmd
93+
ctx.BuildProperties[constants.BUILD_PROPERTIES_COMPILER_LIBRARIES_LDFLAGS] += "\"-L" + path + "\" " + libs_cmd + " "
9494
}
9595
}
9696
return nil

0 commit comments

Comments
 (0)
0