Skip to content

Shared lib#182

Open
akallabeth wants to merge 4 commits intolvandeve:masterfrom
akallabeth:shared_lib
Open

Shared lib#182
akallabeth wants to merge 4 commits intolvandeve:masterfrom
akallabeth:shared_lib

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.

1 participant