Skip to content
Snippets Groups Projects
Commit d2730c3e authored by Fons Rademakers's avatar Fons Rademakers
Browse files

F77LIBS cleanup.

git-svn-id: http://root.cern.ch/svn/root/trunk@23402 27541ba8-7e3a-0410-8455-c3a389f83636
parent acb883cb
No related branches found
No related tags found
No related merge requests found
......@@ -50,14 +50,7 @@ ifeq ($(shell ls -id `gfortran -print-libgcc-file-name` | awk '{print $$1}'),$(s
F77 := gfortran
F77FLAGS := -fPIC -std=legacy
F77LIBS := $(shell $(F77) -print-file-name=libgfortran.$(SOEXT))
F77LIBS += $(shell $(F77) -print-file-name=libgfortranbegin.a) -lnsl
ifeq ($(shell which g77 2>&1 | sed -ne "s/.*\/g77/g77/p"),g77)
ifneq ($(shell g77 -print-file-name=libg2c.so),libg2c.so)
F77LIBS += $(shell g77 -print-file-name=libg2c.so) -lnsl
else
F77LIBS += $(shell g77 -print-file-name=libg2c.a) -lnsl
endif
endif
F77LIBS += $(shell $(F77) -print-file-name=libgfortranbegin.a)
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment