When I tried to parallel make while enabling shared in Configure,
the following error is encountered.

| make: *** No rule to make target `libcrypto.a', needed by 
`libcrypto.so.0.9.8'.  Stop.

The attached patch adds the dependency rules for libcrypto.a and
libssl.a, fixing the above error message.

Signed-off-by: Qing He <qing...@intel.com>
---

This is the version against 0.9.8o

diff --git a/Makefile.org b/Makefile.org
index e87d623..9fc8297 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -350,6 +350,9 @@ all_testapps: build_libs build_testapps
 build_testapps:
        @dir=crypto; target=testapps; $(BUILD_ONE_CMD)
 
+libcrypto.a: build_crypto
+libssl.a: build_ssl
+
 build_shared:  $(SHARED_LIBS)
 libcrypto$(SHLIB_EXT): libcrypto.a $(SHARED_FIPS)
        @if [ "$(SHLIB_TARGET)" != "" ]; then \
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to