rust-musl-builder/examples
Eric Kidd 727d912b3b Add support for static linking of sqlx
`sqlx` requires linking against OpenSSL twice:

- `sqlx-macros` needs to link against OpenSSL as a shared libary for use
  at compile time.
- `sqlx` needs to link against OpenSSL a static library for use at
  runtime.

You can find the details here:

https://github.com/launchbadge/sqlx/issues/670
https://github.com/sfackler/rust-openssl/issues/1337

We go with the fix proposed by @sfackler, and add a test program that we
can use to verify everything works correctly.

We remove a few `OPENSSL`-related variables that were added 4 years ago,
and that no longer appear to be needed.
2020-09-03 16:24:49 -04:00
..
adding-a-library Add working example and test case for diesel 2017-10-24 09:05:22 -04:00
linking-with-git2 Use ADD --chown 2019-11-13 10:14:16 +00:00
using-diesel Add support for static linking of sqlx 2020-09-03 16:24:49 -04:00
using-sqlx Add support for static linking of sqlx 2020-09-03 16:24:49 -04:00
build-release Fix build-release example to work on current TravisCI 2017-10-24 09:37:21 -04:00