mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
deploy-ng: Linux: fix symbol error with static linking, fix omission of libCg
This commit is contained in:
parent
c0f0749c21
commit
9b07578d62
@ -26,6 +26,8 @@ def find_packages(whlfile):
|
|||||||
return [
|
return [
|
||||||
i for i in filelist
|
i for i in filelist
|
||||||
if '.so.' in i or
|
if '.so.' in i or
|
||||||
|
#TODO: find a better way to exclude deploy_libs from this.
|
||||||
|
(i.endswith('.so') and not i.startswith('deploy_libs/')) or
|
||||||
i.endswith('.dll') or
|
i.endswith('.dll') or
|
||||||
i.endswith('.dylib') or
|
i.endswith('.dylib') or
|
||||||
'libpandagl' in i or
|
'libpandagl' in i or
|
||||||
|
@ -6394,6 +6394,7 @@ if PkgSkip("PYTHON") == 0:
|
|||||||
# Setup rpath so libs can be found in the same directory as the deployed game
|
# Setup rpath so libs can be found in the same directory as the deployed game
|
||||||
LibName('DEPLOYSTUB', "-Wl,-rpath,\$ORIGIN")
|
LibName('DEPLOYSTUB', "-Wl,-rpath,\$ORIGIN")
|
||||||
LibName('DEPLOYSTUB', "-Wl,-z,origin")
|
LibName('DEPLOYSTUB', "-Wl,-z,origin")
|
||||||
|
LibName('DEPLOYSTUB', "-rdynamic")
|
||||||
TargetAdd('deploy-stub.exe', input='deploy-stub.obj')
|
TargetAdd('deploy-stub.exe', input='deploy-stub.obj')
|
||||||
if GetTarget() == 'windows':
|
if GetTarget() == 'windows':
|
||||||
TargetAdd('deploy-stub.exe', input='frozen_dllmain.obj')
|
TargetAdd('deploy-stub.exe', input='frozen_dllmain.obj')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user