Skip to content

Add rpath linker option to vibec#10

Draft
chandralegend wants to merge 3 commits intomainfrom
codex/modify-vibec.c-to-set-rpath
Draft

Add rpath linker option to vibec#10
chandralegend wants to merge 3 commits intomainfrom
codex/modify-vibec.c-to-set-rpath

Conversation

@chandralegend
Copy link
Copy Markdown
Collaborator

Summary

  • ensure vibec built shared libraries know how to find libvibelang
  • detect installation prefix from $PREFIX with fallback to /usr/local
  • on macOS use @loader_path for rpath

Testing

  • make test (fails: Bison/Flex missing)

https://chatgpt.com/codex/tasks/task_e_6842cc257ac483328fbe4b7bdd9262f9

@chandralegend chandralegend added bug Something isn't working and removed codex labels Jun 6, 2025
@chandralegend chandralegend self-assigned this Jun 6, 2025
@chandralegend chandralegend marked this pull request as draft June 6, 2025 12:40
@chandralegend
Copy link
Copy Markdown
Collaborator Author

This is still not working, we still have to parse the gcc -o static_joke_example static_joke_example.c ./joke.so -lvibelang -Wl,-rpath,/usr/local/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant