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

Shared lib #182

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Shared lib #182

wants to merge 4 commits into from

Conversation

akallabeth
Copy link

@akallabeth akallabeth commented Jul 26, 2023

  • declare C API symbols extern "C" to allow linking from C even if compiled with C++
  • add a makefile target to build a shared library

rationale: debian packages the library and builds it as shared library. Currently it is not possible to link from C applications as the symbols are exported as C++ symbols.

Armin Novak and others added 4 commits July 26, 2023 18:51
allows compiling both, C and C++ API at the same time
* compile as shared library
* compile static with -fPIC
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.

None yet

1 participant