• Russ Cox's avatar
    cgo: use slash-free relative paths for .so references · 489494ca
    Russ Cox authored
    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 #857.
    
    R=iant, r
    CC=golang-dev
    https://golang.org/cl/1700048
    489494ca
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...