summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libssh2/libssh2.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
index c9f7059bc1..1a1a06f6f2 100644
--- a/package/libssh2/libssh2.mk
+++ b/package/libssh2/libssh2.mk
@@ -31,7 +31,8 @@ endif
# Add zlib support if enabled
ifeq ($(BR2_PACKAGE_ZLIB),y)
LIBSSH2_DEPENDENCIES += zlib
-LIBSSH2_CONF_OPTS += --with-libz
+LIBSSH2_CONF_OPTS += --with-libz \
+ --with-libz-prefix=$(STAGING_DIR)/usr
else
LIBSSH2_CONF_OPTS += --without-libz
endif
OpenPOWER on IntegriCloud