diff options
-rw-r--r-- | package/libssh2/libssh2.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk index 67064ebc5..c9f7059bc 100644 --- a/package/libssh2/libssh2.mk +++ b/package/libssh2/libssh2.mk @@ -18,6 +18,9 @@ LIBSSH2_DEPENDENCIES += libgcrypt LIBSSH2_CONF_OPTS += --with-libgcrypt \ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ --without-openssl +# configure.ac forgets to link to dependent libraries of gcrypt breaking static +# linking +LIBSSH2_CONF_ENV += LIBS="$(shell $(STAGING_DIR)/usr/bin/libgcrypt-config --libs)" else LIBSSH2_DEPENDENCIES += openssl LIBSSH2_CONF_OPTS += --with-openssl \ |