alglib: fix on Darwin (#7534)
This commit is contained in:
		 Denis Davydov
					Denis Davydov
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							6458b15bb1
						
					
				
				
					commit
					ed4640c75b
				
			| @@ -25,6 +25,7 @@ | |||||||
| from spack import * | from spack import * | ||||||
| import glob | import glob | ||||||
| import os | import os | ||||||
|  | import sys | ||||||
| import shutil | import shutil | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -59,3 +60,9 @@ def install(self, spec, prefix): | |||||||
|             headers = glob.glob('*.h') |             headers = glob.glob('*.h') | ||||||
|             for h in headers: |             for h in headers: | ||||||
|                 install(h, prefix.include) |                 install(h, prefix.include) | ||||||
|  |  | ||||||
|  |     @run_after('install') | ||||||
|  |     def fix_darwin_install(self): | ||||||
|  |         # The shared libraries are not installed correctly on Darwin: | ||||||
|  |         if sys.platform == 'darwin': | ||||||
|  |             fix_darwin_install_name(self.spec.prefix.lib) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user