diff --git a/GNUmakefile b/GNUmakefile index ff0cdac..fb25f5e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -91,6 +91,7 @@ INTYLIBS += -L${XERCESCROOT}/lib -lxerces-c INTYLIBS += -L$(G4TMPDIR) -lhdds INTYLIBS += -lboost_python -L$(shell python-config --prefix)/lib $(shell python-config --ldflags) INTYLIBS += -L$(G4ROOT)/lib64 $(patsubst $(G4ROOT)/lib64/lib%.so, -l%, $(G4shared_libs)) +INTYLIBS += -lgfortran INTYLIBS += -L/usr/lib64 EXTRALIBS += -lG4fixes diff --git a/GNUmakefile.OSX b/GNUmakefile.OSX index db756af..5bca562 100644 --- a/GNUmakefile.OSX +++ b/GNUmakefile.OSX @@ -82,6 +82,7 @@ INTYLIBS += -L${XERCESCROOT}/lib -lxerces-c INTYLIBS += -L$(G4TMPDIR) -lhdds INTYLIBS += -lboost_python $(shell python-config --libs) INTYLIBS += -L$(G4ROOT)/lib $(patsubst $(G4ROOT)/lib/lib%.dylib, -l%, $(G4shared_libs)) +INTYLIBS += -lgfortran .PHONY: all all: hdds cobrems sharedlib exe lib bin g4py