Skip to content

Commit

Permalink
Merge pull request #85 from JeffersonLab/add_search_gfortran_library_MMI
Browse files Browse the repository at this point in the history
libgfortran.so must be searched because of fortran code in CCAL library.
  • Loading branch information
jrstevenjlab authored Feb 2, 2019
2 parents 9d45e10 + e0d936a commit a16e649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions GNUmakefile.OSX
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a16e649

Please sign in to comment.