#!/bin/sh
#
-# $OpenBSD: generate_pkgconfig.sh,v 1.2 2016/09/03 12:42:46 beck Exp $
+# $OpenBSD: generate_pkgconfig.sh,v 1.3 2021/06/08 11:19:39 inoguchi Exp $
#
# Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org>
#
Name: OpenSSL-libcrypto
Description: OpenSSL cryptography library
Version: ${lib_version}
-Requires:
Libs: -L\${libdir} -lcrypto
+Libs.private:
Cflags: -I\${includedir}
__EOF__
#!/bin/sh
#
-# $OpenBSD: generate_pkgconfig.sh,v 1.9 2016/09/03 12:42:42 beck Exp $
+# $OpenBSD: generate_pkgconfig.sh,v 1.10 2021/06/08 11:19:39 inoguchi Exp $
#
# Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org>
#
libdir=\${exec_prefix}/lib
includedir=\${prefix}/include
-Name: OpenSSL
+Name: OpenSSL-libssl
Description: Secure Sockets Layer and cryptography libraries
Version: ${lib_version}
-Requires:
-Libs: -L\${libdir} -lssl -lcrypto
+Requires.private: libcrypto
+Libs: -L\${libdir} -lssl
Cflags: -I\${includedir}
__EOF__
Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: ${lib_version}
-Requires:
-Libs: -L\${libdir} -lssl -lcrypto
-Cflags: -I\${includedir}
+Requires: libssl libcrypto
__EOF__