mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
deploy-ng: Fix for missing modules when building on Ubuntu (and probably other distros)
Ubuntu has different builtins than manylinux1, and we need to make sure we still copy shared objects when the host marks a module as builtin and manylinux1 has an so for the module.
This commit is contained in:
parent
961487cd3d
commit
f374c0bc4a
@ -169,7 +169,12 @@ class build_apps(distutils.core.Command):
|
||||
whl_modules_ext = '.'.join(whl_modules[0].split('.')[1:])
|
||||
whl_modules = [i.split('.')[0] for i in whl_modules]
|
||||
|
||||
# Make sure to copy any builtins that have shared objects in the deploy libs
|
||||
for mod in freezer_modules:
|
||||
if mod in whl_modules:
|
||||
freezer_extras.add((mod, None))
|
||||
|
||||
# Copy any shared objects we need
|
||||
for module, source_path in freezer_extras:
|
||||
if source_path is not None:
|
||||
# Rename panda3d/core.pyd to panda3d.core.pyd
|
||||
|
Loading…
x
Reference in New Issue
Block a user