Descriptioncgo: use slash-free relative paths for .so references
The Makefile and cgo now rewrite / to _ when creating the path.
The .so for gosqlite.googlecode.com/hg/sqlite is named
cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l
both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH.
This should make it easier to move binaries from one system
to another.
Fixes issue 857.
Patch Set 1 #Patch Set 2 : code review 1700048: cgo: use slash-free relative paths for .so references #Patch Set 3 : code review 1700048: cgo: use slash-free relative paths for .so references #Patch Set 4 : code review 1700048: cgo: use slash-free relative paths for .so references #
MessagesTotal messages: 5
|