mirror of https://github.com/KLayout/klayout.git
setup.py updated with correct loading path of Linux (thanks, @atait)
This commit is contained in:
parent
64625dcbda
commit
3dd55bdd2a
6
setup.py
6
setup.py
|
|
@ -127,7 +127,11 @@ class Config(object):
|
|||
# build path and the loader will fail.
|
||||
args = []
|
||||
args += ['-Wl,-soname,' + self.libname_of(mod)]
|
||||
args += ['-Wl,-rpath,$ORIGIN']
|
||||
if not '_dbpi' in mod:
|
||||
loader_path = '$ORIGIN'
|
||||
else:
|
||||
loader_path = '$ORIGIN/..'
|
||||
args += ['-Wl,-rpath,' + loader_path]
|
||||
return args
|
||||
|
||||
def macros(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue