shared-libs.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Index: openssl-1.0.0/crypto/Makefile
  2. ===================================================================
  3. --- openssl-1.0.0.orig/crypto/Makefile
  4. +++ openssl-1.0.0/crypto/Makefile
  5. @@ -104,7 +104,7 @@
  6. shared: buildinf.h lib subdirs
  7. if [ -n "$(SHARED_LIBS)" ]; then \
  8. - (cd ..; $(MAKE) $(SHARED_LIB)); \
  9. + (cd ..; $(MAKE) -e $(SHARED_LIB)); \
  10. fi
  11. libs:
  12. Index: openssl-1.0.0/Makefile.org
  13. ===================================================================
  14. --- openssl-1.0.0.orig/Makefile.org
  15. +++ openssl-1.0.0/Makefile.org
  16. @@ -260,7 +260,7 @@
  17. libcrypto$(SHLIB_EXT): libcrypto.a
  18. @if [ "$(SHLIB_TARGET)" != "" ]; then \
  19. - $(MAKE) SHLIBDIRS=crypto build-shared; \
  20. + $(MAKE) -e SHLIBDIRS=crypto build-shared; \
  21. else \
  22. echo "There's no support for shared libraries on this platform" >&2; \
  23. exit 1; \
  24. @@ -268,7 +268,7 @@
  25. libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a
  26. @if [ "$(SHLIB_TARGET)" != "" ]; then \
  27. - $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \
  28. + $(MAKE) -e SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \
  29. else \
  30. echo "There's no support for shared libraries on this platform" >&2; \
  31. exit 1; \
  32. Index: openssl-1.0.0/ssl/Makefile
  33. ===================================================================
  34. --- openssl-1.0.0.orig/ssl/Makefile
  35. +++ openssl-1.0.0/ssl/Makefile
  36. @@ -62,7 +62,7 @@
  37. shared: lib
  38. if [ -n "$(SHARED_LIBS)" ]; then \
  39. - (cd ..; $(MAKE) $(SHARED_LIB)); \
  40. + (cd ..; $(MAKE) -e $(SHARED_LIB)); \
  41. fi
  42. files: