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
2662fd3d
Commit
2662fd3d
authored
Jul 28, 2016
by
Jisi Liu
Committed by
GitHub
Jul 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1871 from pherl/fixwin
Fix build protoc script for windows
parents
e8ae137c
1b1a8f40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
build-protoc.sh
protoc-artifacts/build-protoc.sh
+3
-5
No files found.
protoc-artifacts/build-protoc.sh
View file @
2662fd3d
...
...
@@ -147,6 +147,7 @@ cd "$(dirname "$0")"
WORKING_DIR
=
$(
pwd
)
CONFIGURE_ARGS
=
"--disable-shared"
TARGET_FILE
=
target/
$MAKE_TARGET
.exe
if
[[
"
$OS
"
==
windows
]]
;
then
MAKE_TARGET
=
"
${
MAKE_TARGET
}
.exe"
fi
...
...
@@ -221,13 +222,10 @@ fi
export
CXXFLAGS LDFLAGS
TARGET_FILE
=
target/
$MAKE_TARGET
.exe
cd
"
$WORKING_DIR
"
/..
&&
./configure
$CONFIGURE_ARGS
&&
cd
src
&&
make clean
&&
make
$MAKE_TARGET
-j4
&&
cd
src
&&
make clean
&&
make
$MAKE_TARGET
&&
cd
"
$WORKING_DIR
"
&&
mkdir
-p
target
&&
(
cp
../src/
$MAKE_TARGET
$TARGET_FILE
||
cp
../src/
$MAKE_TARGET
.exe
$TARGET_FILE
)
||
cp
../src/
$MAKE_TARGET
$TARGET_FILE
||
exit
1
if
[[
"
$OS
"
==
osx
]]
;
then
...
...
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