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
38fcd392
Commit
38fcd392
authored
Jan 08, 2010
by
kenton@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor compatibility tweaks for FreeBSD.
parent
7b7a80ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
Makefile.am
src/Makefile.am
+4
-11
zip_output_unittest.sh
src/google/protobuf/compiler/zip_output_unittest.sh
+1
-1
No files found.
src/Makefile.am
View file @
38fcd392
...
...
@@ -254,18 +254,11 @@ unittest_proto_middleman: $(protoc_inputs)
else
# This rule is a little weird. The first prereq is the protoc executable
# and the rest are its inputs. Therefore, $^ -- which expands to the
# list of prereqs -- is actually a valid command. We have to place "./" in
# front of it in case protoc is in the current directory. protoc allows
# flags to appear after input file names, so we happily stick the flags on
# the end.
#
# For reference, if we didn't have to worry about VPATH (i.e., building from
# a directory other than the package root), we could have just written this:
# ./protoc$(EXEEXT) -I$(srcdir) --cpp_out=. $(protoc_inputs)
# We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is
# relative to srcdir, which may not be the same as the current directory when
# building out-of-tree.
unittest_proto_middleman
:
protoc$(EXEEXT) $(protoc_inputs)
./
$^
-I
$(srcdir)
--cpp_out
=
.
oldpwd
=
`
pwd
`
&&
(
cd
$(srcdir)
&&
$$
oldpwd/protoc
$(EXEEXT)
-I
.
--cpp_out
=
$$
oldpwd
$(protoc_inputs)
)
touch
unittest_proto_middleman
endif
...
...
src/google/protobuf/compiler/zip_output_unittest.sh
View file @
38fcd392
...
...
@@ -34,7 +34,7 @@
#
# Test protoc's zip output mode.
f
unction
fail
{
f
ail
()
{
echo
"
$@
"
>
&2
exit
1
}
...
...
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