From e0d936adefc2f3c54e2ad18a91028fe282e58797 Mon Sep 17 00:00:00 2001 From: Mark Ito Date: Thu, 31 Jan 2019 18:15:47 -0500 Subject: [PATCH] libgfortran.so must be searched because of fortran code in CCAL library. --- GNUmakefile | 1 + GNUmakefile.OSX | 1 + 2 files changed, 2 insertions(+) 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