Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
5517168f
Commit
5517168f
authored
Dec 01, 2017
by
Laszlo Csomor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows: expand wildcard arguments
Fixes
https://github.com/google/protobuf/issues/3957
parent
dd2dc0f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
BUILD
BUILD
+13
-1
No files found.
BUILD
View file @
5517168f
# Bazel (http
://bazel.io
/) BUILD file for Protobuf.
# Bazel (http
s://bazel.build
/) BUILD file for Protobuf.
licenses(["notice"])
...
...
@@ -55,6 +55,18 @@ config_setting(
LINK_OPTS = select({
":android": [],
":msvc": [],
# Linking to setargv.obj makes the default command line argument
# parser expand wildcards, so the main method's argv will contain the
# expanded list instead of the wildcards.
# Using -WHOLEARCHIVE, because:
# - Microsoft ships this object file next to default libraries
# - but this file is not a library, just a precompiled object
# - just listing the name here without "-WHOLEARCHIVE:" would make Bazel
# believe that "setargv.obj" is a source or rule output in this
# package, which it is not.
# See https://msdn.microsoft.com/en-us/library/8bch7bkk.aspx
"-WHOLEARCHIVE:setargv.obj",
],
"//conditions:default": ["-lpthread", "-lm"],
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment