|
|
@ -75,14 +75,6 @@ $(eval $(call TestHostCommand,zlib, \ |
|
|
|
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
|
|
|
|
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
|
|
|
|
gcc -include zlib.h -x c -o $(TMP_DIR)/a.out - $(zlib_link_flags)))
|
|
|
|
gcc -include zlib.h -x c -o $(TMP_DIR)/a.out - $(zlib_link_flags)))
|
|
|
|
|
|
|
|
|
|
|
|
# Xcode deprecated openssl, MacPorts doesn't work nicely for other packages
|
|
|
|
|
|
|
|
ifneq ($(HOST_OS),Darwin) |
|
|
|
|
|
|
|
$(eval $(call TestHostCommand,libssl, \
|
|
|
|
|
|
|
|
Please install the openssl library (with development headers), \
|
|
|
|
|
|
|
|
echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \
|
|
|
|
|
|
|
|
gcc $(HOST_CFLAGS) -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl $(HOST_LDFLAGS)))
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call TestHostCommand,perl-thread-queue, \
|
|
|
|
$(eval $(call TestHostCommand,perl-thread-queue, \
|
|
|
|
Please install the Perl Thread::Queue module, \
|
|
|
|
Please install the Perl Thread::Queue module, \
|
|
|
|
perl -MThread::Queue -e 1))
|
|
|
|
perl -MThread::Queue -e 1))
|
|
|
@ -164,12 +156,6 @@ $(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \ |
|
|
|
$(eval $(call SetupHostCommand,file,Please install the 'file' package, \
|
|
|
|
$(eval $(call SetupHostCommand,file,Please install the 'file' package, \
|
|
|
|
file --version 2>&1 | grep file))
|
|
|
|
file --version 2>&1 | grep file))
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(HOST_OS),Darwin) |
|
|
|
|
|
|
|
$(eval $(call SetupHostCommand,openssl,Please install the 'openssl' utility, \
|
|
|
|
|
|
|
|
openssl version | grep '\(OpenSSL\|LibreSSL\)'))
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Install ldconfig stub
|
|
|
|
# Install ldconfig stub
|
|
|
|
$(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \
|
|
|
|
$(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \
|
|
|
|
touch $(STAGING_DIR_HOST)/bin/ldconfig && \
|
|
|
|
touch $(STAGING_DIR_HOST)/bin/ldconfig && \
|
|
|
|