210-link-libcrypto-static.patch 615 B

1234567891011121314
  1. libreCMC links the libressl statically against mkimage, make sure all the
  2. needed dependencies are added too.
  3. --- a/tools/Makefile
  4. +++ b/tools/Makefile
  5. @@ -145,7 +145,7 @@ endif
  6. # MXSImage needs LibSSL
  7. ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_ARMADA_38X)$(CONFIG_ARMADA_39X)$(CONFIG_FIT_SIGNATURE),)
  8. HOSTLOADLIBES_mkimage += \
  9. - $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
  10. + $(shell pkg-config --libs --static libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
  11. # OS X deprecate openssl in favour of CommonCrypto, supress deprecation
  12. # warnings on those systems