Commits

Satish Balay committed 4cad974

hdf5: enable sharedlibraries [required for moab shared build]

Comments (0)

Files changed (1)

config/BuildSystem/config/packages/hdf5.py

       args.append('F9X="'+self.setCompilers.getCompiler()+'"')
       args.append('F90="'+self.setCompilers.getCompiler()+'"')
       self.setCompilers.popLanguage()
+    if self.framework.argDB['with-shared-libraries']:
+      args.append('--enable-shared')
+    else:
+      args.append('--disable-shared')
 
     args = ' '.join(args)
     fd = file(os.path.join(self.packageDir,'hdf5'), 'w')