Skip to content

Commit

Permalink
grpc: fix build issues with libsystemd disabled
Browse files Browse the repository at this point in the history
Fixes the follwoing issues:
ERROR: grpc/1.54.3: required component package 'libsystemd::' not in dependencies
  • Loading branch information
Artem Panfilov committed Jun 18, 2024
1 parent de6624d commit 34e21fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/grpc/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def _module_path(self):
def _grpc_components(self):

def libsystemd():
return ["libsystemd::libsystemd"] if self._supports_libsystemd else []
return ["libsystemd::libsystemd"] if self._supports_libsystemd and self.options.with_libsystemd else []

def libm():
return ["m"] if self.settings.os in ["Linux", "FreeBSD"] else []
Expand Down

0 comments on commit 34e21fe

Please sign in to comment.