Skip to content

[macOS] Hard-coded locations for dylibs instead of @rpath #219

Open
@shinra-electric

Description

@shinra-electric

Issue: When building on macOS (ARM) you need to keep the build folder or else no game will run.

if you run otool -L on any of the output dylibs you can see that they are hard-coded to be located in the build directory. This means the build directory needs to be still installed when trying to run a game.

They should be using @rpath or @executable_path instead.

This example is looking at liblauncher.dylib
Terminal Saved Output.txt

(System files shouldn't be affected)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions