diff src/libssh2.mk @ 3012:100e618349f7

Improve handling of prefix directories by defining HOST_PREFIX and BUILD_TOOLS_PREFIX variables in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 10:31:04 -0400
parents 4f9b72cf7ee7
children bcc26ffe9a0f
line wrap: on
line diff
--- a/src/libssh2.mk	Sat Jun 01 20:52:09 2013 -0400
+++ b/src/libssh2.mk	Sun Jun 02 10:31:04 2013 -0400
@@ -22,7 +22,7 @@
         $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
         --host='$(TARGET)' \
         $(ENABLE_SHARED_OR_STATIC) \
-        --prefix='$(PREFIX)/$(TARGET)' \
+        --prefix='$(HOST_PREFIX)' \
         --without-openssl \
         --with-libgcrypt \
         PKG_CONFIG='$(TARGET)-pkg-config'
@@ -30,7 +30,7 @@
 
 ##    '$(TARGET)-gcc' \
 ##        -W -Wall -Werror -ansi -pedantic \
-##        '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libssh2.exe' \
+##        '$(2).c' -o '$(HOST_PREFIX)/bin/test-libssh2.exe' \
 ##        `'$(TARGET)-pkg-config' --cflags --libs libssh2`
 
 endef