mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
deploy-ng: fix error on Linux
This commit is contained in:
parent
2c35d7a8e9
commit
6025bf0a8e
@ -593,7 +593,7 @@ class build_apps(distutils.core.Command):
|
|||||||
|
|
||||||
elif magic == b'\x7FELF':
|
elif magic == b'\x7FELF':
|
||||||
# Elf magic. Used on (among others) Linux and FreeBSD.
|
# Elf magic. Used on (among others) Linux and FreeBSD.
|
||||||
deps = self._read_dependencies_elf(fp, os.path.dirname(source_path), search_path)
|
deps = self._read_dependencies_elf(fp, target_dir, search_path)
|
||||||
|
|
||||||
elif magic in (b'\xCE\xFA\xED\xFE', b'\xCF\xFA\xED\xFE'):
|
elif magic in (b'\xCE\xFA\xED\xFE', b'\xCF\xFA\xED\xFE'):
|
||||||
# A Mach-O file, as used on macOS.
|
# A Mach-O file, as used on macOS.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user