diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-20 23:36:34 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-20 23:36:34 (GMT) |
commit | 3dcb218d7d7e4c0226f5e662128520dbf776f21f (patch) | |
tree | 85a77c1b41b934b81bd801149812c1af30771ac9 /src/libssh2.mk | |
parent | 5f4beb05936806961991f301d1aa5b7add5ba543 (diff) | |
download | mxe-3dcb218d7d7e4c0226f5e662128520dbf776f21f.zip mxe-3dcb218d7d7e4c0226f5e662128520dbf776f21f.tar.gz mxe-3dcb218d7d7e4c0226f5e662128520dbf776f21f.tar.bz2 |
package libssh2: improve dependency handling
Diffstat (limited to 'src/libssh2.mk')
-rw-r--r-- | src/libssh2.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libssh2.mk b/src/libssh2.mk index 36c9c82..df3185c 100644 --- a/src/libssh2.mk +++ b/src/libssh2.mk @@ -26,11 +26,12 @@ define $(PKG)_BUILD --prefix='$(PREFIX)/$(TARGET)' \ --without-openssl \ --with-libgcrypt \ - PKG_CONFIG='$(TARGET)-pkg-config' + PKG_CONFIG='$(TARGET)-pkg-config' \ + LIBS="-lgcrypt `$(PREFIX)/$(TARGET)/bin/gpg-error-config --libs`" $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA= '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libssh2.exe' \ - -lssh2 + `'$(TARGET)-pkg-config' --cflags --libs libssh2` endef |