Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
9bc6a404
Commit
9bc6a404
authored
Nov 20, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgo: allow .so in subdirectories
R=r
https://golang.org/cl/157103
parent
c614ffe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Make.pkg
src/Make.pkg
+1
-1
main.go
src/cmd/cgo/main.go
+1
-1
No files found.
src/Make.pkg
View file @
9bc6a404
...
...
@@ -88,7 +88,7 @@ dir:
# x.cgo4.c - C implementations compiled with gcc to create dynamic library
#
%.cgo1.go %.cgo2.go %.cgo3.c %.cgo4.c: %.go
cgo $(CGO_CFLAGS) $*.go
CGOPKGPATH=$(dir)
cgo $(CGO_CFLAGS) $*.go
# The rules above added x.cgo1.go and x.cgo2.go to $(GOFILES),
# added x.cgo3.$O to $OFILES, and added the installed copy of
...
...
src/cmd/cgo/main.go
View file @
9bc6a404
...
...
@@ -101,6 +101,6 @@ func main() {
os
.
Exit
(
2
)
}
p
.
PackagePath
=
p
.
Package
;
p
.
PackagePath
=
os
.
Getenv
(
"CGOPKGPATH"
)
+
"/"
+
p
.
Package
;
p
.
writeOutput
(
input
);
}
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