011-fix-linking.patch 963 B

123456789101112131415161718192021222324252627282930
  1. --- a/libcrypto.pc.in
  2. +++ b/libcrypto.pc.in
  3. @@ -23,6 +23,5 @@ includedir=@includedir@
  4. Name: LibreSSL-libcrypto
  5. Description: LibreSSL cryptography library
  6. Version: @VERSION@
  7. -Libs: -L${libdir} -lcrypto
  8. -Libs.private: @LIBS@ @PLATFORM_LDADD@
  9. +Libs: -L${libdir} -lcrypto @LIBS@ @PLATFORM_LDADD@
  10. Cflags: -I${includedir}
  11. --- a/libssl.pc.in
  12. +++ b/libssl.pc.in
  13. @@ -23,6 +23,6 @@ includedir=@includedir@
  14. Name: LibreSSL-libssl
  15. Description: Secure Sockets Layer and cryptography libraries
  16. Version: @VERSION@
  17. -Requires.private: libcrypto
  18. +Requires: libcrypto
  19. Libs: -L${libdir} -lssl
  20. Cflags: -I${includedir}
  21. --- a/libtls.pc.in
  22. +++ b/libtls.pc.in
  23. @@ -23,6 +23,5 @@ includedir=@includedir@
  24. Name: LibreSSL-libtls
  25. Description: Secure communications using the TLS socket protocol.
  26. Version: @VERSION@
  27. -Libs: -L${libdir} -ltls
  28. -Libs.private: @LIBS@ @PLATFORM_LDADD@ -lssl -lcrypto
  29. +Libs: -L${libdir} -ltls @LIBS@ @PLATFORM_LDADD@ -lssl -lcrypto
  30. Cflags: -I${includedir}