Skip to content

Commit f2677ce

Browse files
committed
Try adding CoreFoundation framework linker args to grpc-compiler as well.
1 parent 9f3f4de commit f2677ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ model {
105105
addEnvArgs("CPPFLAGS", cppCompiler.args)
106106
if (osdetector.os == "osx") {
107107
cppCompiler.args "-mmacosx-version-min=10.7", "-stdlib=libc++"
108+
linker.args "-framework", "CoreFoundation"
108109
addLibraryIfNotLinked('protoc', linker.args)
109110
addLibraryIfNotLinked('protobuf', linker.args)
110111
} else if (osdetector.os == "windows") {

0 commit comments

Comments
 (0)