mumps: add install_name / soname
This commit is contained in:
		| @@ -113,13 +113,13 @@ def write_makefile_inc(self): | ||||
|                 # Building dylibs with mpif90 causes segfaults on 10.8 and 10.10. Use gfortran. (Homebrew) | ||||
|                 makefile_conf.extend([ | ||||
|                     'LIBEXT=.dylib', | ||||
|                     'AR=%s -dynamiclib -undefined dynamic_lookup -o ' % os.environ['FC'], | ||||
|                     'AR=%s -dynamiclib -Wl,-install_name -Wl,%s/$(notdir $@) -undefined dynamic_lookup -o ' % (os.environ['FC'],prefix.lib), | ||||
|                     'RANLIB=echo' | ||||
|                 ]) | ||||
|             else: | ||||
|                 makefile_conf.extend([ | ||||
|                     'LIBEXT=.so', | ||||
|                     'AR=$(FL) -shared -o', | ||||
|                     'AR=$(FL) -shared -Wl,-soname -Wl,%s/$(notdir $@) -o' % prefix.lib, | ||||
|                     'RANLIB=echo' | ||||
|                 ]) | ||||
|         else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Denis Davydov
					Denis Davydov