gpg-rs / gpgme

GPGme bindings for Rust
GNU Lesser General Public License v2.1
83 stars 13 forks source link

statically linking gpgme #45

Closed Lunarequest closed 1 year ago

Lunarequest commented 1 year ago

As far as i can see there is no way to make gpgme link statically. Is there any reason this is not supported? Could the gpgme-sys be changed to use the common static variable linking format PROJNAME_{STATIC, LIB_DIR, INCLUDE_DIR}

EKTehtris commented 1 year ago

You can use SYSTEM_DEPS_GPGME_LINK=static cargo build or SYSTEM_DEPS_LINK=static cargo build for global, please refer to system deps docs

Lunarequest commented 1 year ago

thanks!