diff src/libssh2.mk @ 3036:47558e958113

Allow static/shared libraries to be configured in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Thu, 15 Nov 2012 16:11:45 -0500
parents d427b570804c
children 028eabbb0f76
line wrap: on
line diff
--- a/src/libssh2.mk
+++ b/src/libssh2.mk
@@ -20,7 +20,7 @@
     cd '$(1)' && ./buildconf
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
-        --disable-shared \
+        $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(PREFIX)/$(TARGET)' \
         --without-openssl \
         --with-libgcrypt \