Files
godot/platform/linuxbsd/platform_linuxbsd_builders.py
noahbackus 9d30169a8d
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
initial commit, 4.5 stable
2025-09-16 20:46:46 -04:00

11 lines
382 B
Python

"""Functions used to generate source files during build time"""
import os
def make_debug_linuxbsd(target, source, env):
dst = str(target[0])
os.system('objcopy --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst))
os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst))
os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))