mirror of https://github.com/KLayout/klayout.git
Stripping shared object for linux pymod
This commit is contained in:
parent
32c07759fc
commit
c5ea287158
4
setup.py
4
setup.py
|
|
@ -310,6 +310,10 @@ class Config(object):
|
|||
else:
|
||||
loader_path = '$ORIGIN/..'
|
||||
args += ['-Wl,-rpath,' + loader_path]
|
||||
# default linux shared object compilation uses the '-g' flag,
|
||||
# which generates unnecessary debug information
|
||||
# removing with strip-all during the linking stage
|
||||
args += ['-Wl,--strip-all']
|
||||
return args
|
||||
|
||||
def macros(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue