1. Fazlul Shahriar
  2. go-gsl

Commits

Fazlul Shahriar  committed 6e3c088

goinstall support + fix build under new cgo

Don't understand why linking in libgslcblas is now
necessary--we don't use it. It wasn't required in
the old cgo. Although symbols from libcgocblas do
exists in libgsl as undefined symbols.

  • Participants
  • Parent commits f983e65
  • Branches default

Comments (0)

Files changed (2)

File gsl/Makefile

View file
 	matrix.go\
 	vector.go\
 
-CGO_LDFLAGS=-lgsl
-
 include $(GOROOT)/src/Make.pkg

File gsl/errno.go

View file
 package gsl
 
 /*
+#cgo LDFLAGS: -lgsl -lgslcblas
 #include <gsl/gsl_errno.h>
 */
 import "C"