Skip to content

Conversation

Harry-Chen
Copy link

The PR mainly:

  • generates and installs shared library with proper SOVERSION (currently the first digit of the version number)
  • allows installing to user-specified locations and using external CFLAGS
  • hides symbols from the shared library by default, only exposing necessary ones (sqlite3_vec_init and friends)

These improvements make it easier for distributions to package this great library.

This allow distributions to modify install locations. For example,
in Debian on x86_64, INSTALL_PREFIX = /usr, and INSTALL_LIB_DIR =
/usr/x86_64-linux-gnu/lib.

Signed-off-by: Shengqi Chen <[email protected]>
Many definitions are not correctly marked with `static`.
Instead of changing them one-by-one, use `-fvisibility=hidden` is
a quicker future-proof fix.

Signed-off-by: Shengqi Chen <[email protected]>
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