diff options
Diffstat (limited to 'misc/cgo/testso/test.bash')
| -rwxr-xr-x | misc/cgo/testso/test.bash | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/cgo/testso/test.bash b/misc/cgo/testso/test.bash index f275eb572..ecef873c8 100755 --- a/misc/cgo/testso/test.bash +++ b/misc/cgo/testso/test.bash @@ -4,6 +4,7 @@ # license that can be found in the LICENSE file. set -e -gomake out -LD_LIBRARY_PATH=. ./out -gomake clean +gcc $(go env GOGCCFLAGS) -shared -o libcgosotest.so cgoso_c.c +go build main.go +LD_LIBRARY_PATH=. ./main +rm -f libcgosotest.so main |
