Commits

Anonymous committed b556469

fix lib use

  • Participants
  • Parent commits af1f8e4

Comments (0)

Files changed (2)

 
  #include "c-herwig/herwig.h"
 
- #cgo LDFLAGS: -lc-herwig -lherwig65
+ #cgo LDFLAGS: -lc-hepevt -lf-hepevt -lc-herwig -lherwig65 -lgfortran
 */
 import "C"
 import "unsafe"
         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'],
         )