diff options
author | inoguchi <> | 2021-06-08 11:19:39 +0000 |
---|---|---|
committer | inoguchi <> | 2021-06-08 11:19:39 +0000 |
commit | 0c6fae4cb3a37b83ebcf9671996b0df89462ea0f (patch) | |
tree | e55b19f5976322f99953948f7703e824b2cccbe8 /src/lib/libcrypto | |
parent | 336e05bda5aedf470537710406eb32f778f8a6e4 (diff) | |
download | openbsd-0c6fae4cb3a37b83ebcf9671996b0df89462ea0f.tar.gz openbsd-0c6fae4cb3a37b83ebcf9671996b0df89462ea0f.tar.bz2 openbsd-0c6fae4cb3a37b83ebcf9671996b0df89462ea0f.zip |
Fix pkg-config .pc files with LibreSSL
In libssl.pc, Libs: should not have '-lcrypto', and Requires.private:
should have it as 'libcrypto'.
openssl.pc does not need Libs: and Cflags:, but should have Requires:.
OK millert@
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r-- | src/lib/libcrypto/generate_pkgconfig.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/generate_pkgconfig.sh b/src/lib/libcrypto/generate_pkgconfig.sh index 12dff506ff..e03f849e76 100644 --- a/src/lib/libcrypto/generate_pkgconfig.sh +++ b/src/lib/libcrypto/generate_pkgconfig.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # $OpenBSD: generate_pkgconfig.sh,v 1.2 2016/09/03 12:42:46 beck Exp $ | 3 | # $OpenBSD: generate_pkgconfig.sh,v 1.3 2021/06/08 11:19:39 inoguchi Exp $ |
4 | # | 4 | # |
5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> | 5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> |
6 | # | 6 | # |
@@ -69,7 +69,7 @@ includedir=\${prefix}/include | |||
69 | Name: OpenSSL-libcrypto | 69 | Name: OpenSSL-libcrypto |
70 | Description: OpenSSL cryptography library | 70 | Description: OpenSSL cryptography library |
71 | Version: ${lib_version} | 71 | Version: ${lib_version} |
72 | Requires: | ||
73 | Libs: -L\${libdir} -lcrypto | 72 | Libs: -L\${libdir} -lcrypto |
73 | Libs.private: | ||
74 | Cflags: -I\${includedir} | 74 | Cflags: -I\${includedir} |
75 | __EOF__ | 75 | __EOF__ |