Skip to content

make cmake grpc.pc depend on openssl too#20621

Merged
markdroth merged 1 commit intogrpc:masterfrom
jtattermusch:cmake_pkgconfig_openssl
Oct 16, 2019
Merged

make cmake grpc.pc depend on openssl too#20621
markdroth merged 1 commit intogrpc:masterfrom
jtattermusch:cmake_pkgconfig_openssl

Conversation

@jtattermusch
Copy link
Copy Markdown
Contributor

Tentative fix for #20606 (comment)

The idea is that in the distribtest, we rely on system-installed openssl, but pkgconfig file doesn't reflect that. I have no idea why this has only been triggered by #20606.

This PR adds "openssl" to the grpc.pc "Requires"

CC @markdroth @zackgalbreath @nicolasnoble

@jtattermusch jtattermusch added lang/c++ release notes: yes Indicates if PR needs to be in release notes labels Oct 16, 2019
"${gRPC_CORE_VERSION}"
"gpr"
"gpr openssl"
"-lgrpc -laddress_sorting -lcares -lz"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zackgalbreath it would be nice to determine the list of dependencies based on our actual dependencies. Like this we have to maintain several versions of the same list.

cmake -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF -DgRPC_PROTOBUF_PROVIDER=package -DgRPC_ZLIB_PROVIDER=package -DgRPC_CARES_PROVIDER=package -DgRPC_SSL_PROVIDER=package -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/grpc ../..

@markdroth
Copy link
Copy Markdown
Member

Known issues: #18126 #20624 #20436 #20625

@markdroth markdroth merged commit 72475f4 into grpc:master Oct 16, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lang/c++ release notes: yes Indicates if PR needs to be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants