1. binet
  2. go-herwig

Commits

Sebastien Binet  committed b556469

fix lib use

  • Participants
  • Parent commits af1f8e4
  • Branches default

Comments (0)

Files changed (2)

File pkg/herwig.go

View file
  • Ignore whitespace
 
  #include "c-herwig/herwig.h"
 
- #cgo LDFLAGS: -lc-herwig -lherwig65
+ #cgo LDFLAGS: -lc-hepevt -lf-hepevt -lc-herwig -lherwig65 -lgfortran
 */
 import "C"
 import "unsafe"

File wscript

View file
  • Ignore whitespace
         name='go-herwig',
         source='pkg/herwig.go',
         target='herwig',
-        use=['herwig65','c-hepevt','c-herwig'],
+        use=['c-hepevt','c-herwig', 'herwig65', 'f-hepevt'],
+        lib=['gfortran','m'],
         )