Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Had to manually update @rpath to @loader_path in Syphon.framework for the bundle to load? #6

Open
vade opened this issue Dec 30, 2022 · 1 comment

Comments

@vade
Copy link
Member

vade commented Dec 30, 2022

@bangnoise just checking in. I didn't commit a framework change, but running an optimized build I had to replace Syphon.frameworks @rpath for a @loader_path so Adobe apps could find the Syphon framework properly.

I forget the nuances of the above behavioral change. Should we be defaulting to @loader_path in the framework?

@bangnoise
Copy link
Member

You need to set "Runpath Search Paths" for this project (and not modify Syphon). The key addition here is @loader_path - depending on the structure of your bundle, it might look like:

LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks

This would be normal practice for any loaded code (library or plugin) using third-party frameworks - you need to tell the linker to look relative to the loaded code as well as the executable.

@bangnoise bangnoise reopened this Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants