Fix to expose openssl dependency 91/212491/2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix sandbox/wangbiao/rpm_upgrade tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.011842 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074300 accepted/tizen/5.5/unified/wearable/hotfix/20201027.100614 accepted/tizen/unified/20190828.010611 submit/tizen/20190821.073037 submit/tizen/20190826.011117 submit/tizen/20190826.045105 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 submit/tizen_5.5_wearable_hotfix/20201026.184307 tizen_5.5.m2_release
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 22 Aug 2019 05:26:39 +0000 (14:26 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Thu, 22 Aug 2019 07:08:56 +0000 (16:08 +0900)
libwebsocket-dev doesn't expose openssl dependency by its .pc files,
even if it is necessary to build properly.
this patch fix them to expose it.

Change-Id: If4e3f3a21759b9e3b23cc26386e428cc4c7d151c

CMakeLists.txt

index 933ed63..5ba8c1a 100644 (file)
@@ -1562,6 +1562,7 @@ includedir=\${prefix}/include
 Name: libwebsockets
 Description: Websockets server and client library
 Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
+Requires: openssl1.1
 
 Libs: -L\${libdir} -lwebsockets
 Cflags: -I\${includedir}"
@@ -1579,6 +1580,7 @@ includedir=\${prefix}/include
 Name: libwebsockets_static
 Description: Websockets server and client static library
 Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
+Requires: openssl1.1
 
 Libs: -L\${libdir} -lwebsockets_static
 Libs.private: