alglib: fix on Darwin (#7534)
This commit is contained in:
parent
6458b15bb1
commit
ed4640c75b
@ -25,6 +25,7 @@
|
||||
from spack import *
|
||||
import glob
|
||||
import os
|
||||
import sys
|
||||
import shutil
|
||||
|
||||
|
||||
@ -59,3 +60,9 @@ def install(self, spec, prefix):
|
||||
headers = glob.glob('*.h')
|
||||
for h in headers:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user