Skip to content

Commit c176cbd

Browse files
committed
Use the environment-provided cc compiler
1 parent 30efb84 commit c176cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libpkl/libpkl.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ val macNativeFullLibraryAarch64 by tasks.registering(Exec::class) {
280280

281281
workingDir = libraryOutputDir.asFile
282282

283-
// TODO: Make this portable. For now this is a demonstration using `clang`.
284-
commandLine("/usr/bin/clang", "-shared",
283+
// TODO: Make this portable.
284+
commandLine("/usr/bin/cc", "-shared",
285285
"-o", "libpkl.dylib",
286286
"$projectDir/src/main/c/libpkl.c",
287287
"-I$projectDir/src/main/c",

0 commit comments

Comments
 (0)