mirror of https://github.com/KLayout/klayout.git
adding rpath to all libraries
This commit is contained in:
parent
e1dcaf469e
commit
8330415b29
3
setup.py
3
setup.py
|
|
@ -128,8 +128,7 @@ class Config(object):
|
|||
args = []
|
||||
if mod[0] == "_":
|
||||
args += ["-Wl,-dylib", '-Wl,-install_name,@rpath/%s' % self.libname_of(mod)]
|
||||
else:
|
||||
args += ['-Wl,-rpath,@loader_path/']
|
||||
args += ['-Wl,-rpath,@loader_path/']
|
||||
return args
|
||||
else:
|
||||
# this makes the libraries suitable for linking with a path -
|
||||
|
|
|
|||
Loading…
Reference in New Issue