- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for srcDirs (0.05 sec)
-
src/cmd/cgo/doc.go
When the cgo directives are parsed, any occurrence of the string ${SRCDIR} will be replaced by the absolute path to the directory containing the source file. This allows pre-compiled static libraries to be included in the package directory and linked properly. For example if package foo is in the directory /go/src/foo: // #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo Will be expanded to: // #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0)