File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -1115,3 +1115,17 @@ FILE(STRINGS "include/openssl/opensslv.h"
1115
1115
if (NOT ${BASE_VERSION_NUMBER} MATCHES ${OPENSSLV_VERSION_NUMBER} )
1116
1116
message ( FATAL_ERROR "OPENSSL_VERSION_NUMBER in base.h and opensslv.h should match." )
1117
1117
endif ()
1118
+
1119
+ # TODO: Find a way to make this automatically align with OPENSSL_VERSION_NUMBER in base.h.
1120
+ set (VERSION 1.1.1)
1121
+
1122
+ # AWS-LC may be installed in a non-standard prefix. If OpenSSL exists in the standard path,
1123
+ # the downstream integration may build with the system's OpenSSL version instead.
1124
+ # Consider adjusting the PKG_CONFIG_PATH environment to get around this.
1125
+ file (GLOB OPENSSL_PKGCONFIGS "pkgconfig/*.pc.in" )
1126
+ foreach (in_file ${OPENSSL_PKGCONFIGS} )
1127
+ file (RELATIVE_PATH in_file ${PROJECT_SOURCE_DIR} ${in_file} )
1128
+ string (REPLACE ".in" "" pc_file ${in_file} )
1129
+ configure_file (${in_file} ${CMAKE_CURRENT_BINARY_DIR} /${pc_file} @ONLY)
1130
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /${pc_file} DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig)
1131
+ endforeach ()
Original file line number Diff line number Diff line change
1
+ prefix=@CMAKE_INSTALL_PREFIX@
2
+ libdir=${prefix}/lib
3
+ includedir=${prefix}/include
4
+
5
+ Name: AWS-LC-libcrypto
6
+ Description: AWS-LC cryptography library
7
+ Version: @VERSION@
8
+ Libs: -L${libdir} -lcrypto
9
+ Cflags: -I${includedir}
Original file line number Diff line number Diff line change
1
+ prefix=@CMAKE_INSTALL_PREFIX@
2
+ libdir=${prefix}/lib
3
+ includedir=${prefix}/include
4
+
5
+ Name: AWS-LC-libssl
6
+ Description: AWS-LC (OpenSSL SHIM)
7
+ Version: @VERSION@
8
+ Requires.private: libcrypto
9
+ Libs: -L${libdir} -lssl
10
+ Cflags: -I${includedir}
Original file line number Diff line number Diff line change
1
+ prefix=@CMAKE_INSTALL_PREFIX@
2
+ libdir=${prefix}/lib
3
+ includedir=${prefix}/include
4
+
5
+ Name: AWS-LC
6
+ Description: AWS-LC (OpenSSL SHIM)
7
+ Version: @VERSION@
8
+ Requires: libssl libcrypto
You can’t perform that action at this time.
0 commit comments