Skip to content

Commit 8cd543d

Browse files
committed
Add space before "-L" gcc flag to allow multiple precompiled libs to be included
1 parent 934ab35 commit 8cd543d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: legacy/builder/phases/libraries_builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func compileLibrary(ctx *types.Context, library *libraries.Library, buildPath *p
161161
}
162162

163163
currLDFlags := ctx.BuildProperties.Get("compiler.libraries.ldflags")
164-
ctx.BuildProperties.Set("compiler.libraries.ldflags", currLDFlags+"\"-L"+precompiledPath.String()+"\" "+libsCmd+" ")
164+
ctx.BuildProperties.Set("compiler.libraries.ldflags", currLDFlags+" \"-L"+precompiledPath.String()+"\" "+libsCmd+" ")
165165

166166
// TODO: This codepath is just taken for .a with unusual names that would
167167
// be ignored by -L / -l methods.

0 commit comments

Comments
 (0)