mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 01:14:35 +02:00
Stripping shared object for linux pymod
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user