aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/cmd/go/test.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/test.bash b/src/cmd/go/test.bash
index d0926e2105..0e4af62754 100755
--- a/src/cmd/go/test.bash
+++ b/src/cmd/go/test.bash
@@ -608,7 +608,7 @@ export GOPATH=$d
mkdir -p $d/src/origin
echo '
package origin
-// #cgo LDFLAGS: -Wl,-rpath -Wl,$ORIGIN
+// #cgo !darwin LDFLAGS: -Wl,-rpath -Wl,$ORIGIN
// void f(void) {}
import "C"