Commit 24ab448c authored by Shenghou Ma's avatar Shenghou Ma

misc/cgo/test: add -ldl to LDFLAGS on Linux, ignore issue4029 on windows (fix build)

R=golang-dev
CC=golang-dev
https://golang.org/cl/6631054
parent 7e90f7b4
...@@ -2,10 +2,13 @@ ...@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !windows
package cgotest package cgotest
/* /*
#include <dlfcn.h> #include <dlfcn.h>
#cgo linux LDFLAGS: -ldl
*/ */
import "C" import "C"
......
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build windows
package cgotest
import "testing"
func test4029(t *testing.T) {
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment