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

build library stub from separate file #258

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

0xcaff
Copy link
Contributor

@0xcaff 0xcaff commented Feb 6, 2024

Build was failing because lib.cpp in the library_example has a bunch of external dependencies. For building the *.stub files, the implementation doesn't matter, only having the right symbols matters (its sorta like a header but in a .so) Added a .stub.c file with the same testLibraryFunction and a empty impl.

this fixes the build being broken on master

the stub can't include external libraries. it is a placeholder until the linker rewrites imports
@kiwidoggie kiwidoggie merged commit cd48023 into OpenOrbis:master Feb 22, 2024
7 checks passed
@0xcaff 0xcaff deleted the martin/fix-build branch February 22, 2024 23:13
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

Successfully merging this pull request may close these issues.

2 participants