Make sure py-protobuf package can link to libprotobuf when building (#20280)
This commit is contained in:
		| @@ -57,6 +57,11 @@ def build_directory(self): | ||||
|         else: | ||||
|             return '.' | ||||
| 
 | ||||
|     @when('+cpp') | ||||
|     def setup_build_environment(self, env): | ||||
|         protobuf_dir = self.spec['protobuf'].libs.directories[0] | ||||
|         env.prepend_path('LIBRARY_PATH', protobuf_dir) | ||||
| 
 | ||||
|     @when('+cpp') | ||||
|     def build_args(self, spec, prefix): | ||||
|         return ['--cpp_implementation'] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tim Moon
					Tim Moon