Mercurial > mxe-octave
comparison src/libssh2.mk @ 3031:951da75fd09c
improve handling of cross tool prefix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 09 Jun 2013 09:48:08 -0400 |
parents | b6c7244a2f66 |
children | 5ef49fb3299d |
comparison
equal
deleted
inserted
replaced
3030:0d67b4c363cd | 3031:951da75fd09c |
---|---|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | 23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
24 $(ENABLE_SHARED_OR_STATIC) \ | 24 $(ENABLE_SHARED_OR_STATIC) \ |
25 --prefix='$(HOST_PREFIX)' \ | 25 --prefix='$(HOST_PREFIX)' \ |
26 --without-openssl \ | 26 --without-openssl \ |
27 --with-libgcrypt \ | 27 --with-libgcrypt \ |
28 PKG_CONFIG='$(TARGET)-pkg-config' | 28 PKG_CONFIG='$(MXE_PKG_CONFIG)' |
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= |
30 | 30 |
31 ## '$(TARGET)-gcc' \ | 31 ## '$(MXE_CC)' \ |
32 ## -W -Wall -Werror -ansi -pedantic \ | 32 ## -W -Wall -Werror -ansi -pedantic \ |
33 ## '$(2).c' -o '$(HOST_BINDIR)/test-libssh2.exe' \ | 33 ## '$(2).c' -o '$(HOST_BINDIR)/test-libssh2.exe' \ |
34 ## `'$(TARGET)-pkg-config' --cflags --libs libssh2` | 34 ## `'$(MXE_PKG_CONFIG)' --cflags --libs libssh2` |
35 | 35 |
36 endef | 36 endef |