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
e2c21e51
Unverified
Commit
e2c21e51
authored
May 22, 2018
by
Feng Xiao
Committed by
GitHub
May 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3984 from laszlocsomor/wildcard
Windows: expand wildcard arguments
parents
a8e23593
5517168f
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 @
e2c21e51
# 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