summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/nwchem/tools_lib64.patch
blob: d32442df27cd64d4aa645adbe1833780c8bd02b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: src/config/makefile.h
===================================================================
--- src/config/makefile.h	(revision 27828)
+++ src/config/makefile.h	(revision 27829)
@@ -99,7 +99,8 @@
 ifdef OLD_GA
     LIBPATH = -L$(SRCDIR)/tools/lib/$(TARGET)
 else
-    LIBPATH = -L$(SRCDIR)/tools/install/lib
+    TOOLSLIB =  $(shell grep libdir\ =  $(NWCHEM_TOP)/src/tools/build/Makefile |grep -v pkgl|cut -b 25-)
+    LIBPATH = -L$(SRCDIR)/tools/install/$(TOOLSLIB) 
 endif
 
 #