From 6670d9dc63f32875f8797bb443d81ebe3d97e46c Mon Sep 17 00:00:00 2001 From: reidspencer Date: Sun, 12 Jan 2025 08:30:19 -0500 Subject: [PATCH] Provide languageNative with correct include options --- build.sbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 188a2da3a..0ab610017 100644 --- a/build.sbt +++ b/build.sbt @@ -180,7 +180,11 @@ lazy val language_cp: CrossProject = CrossModule("language", "riddl-language")(J libraryDependencies += "com.lihaoyi" %%% "fastparse" % V.fastparse, libraryDependencies += "org.wvlet.airframe" %%% "airframe-ulid" % V.airframe_ulid ) - .nativeConfigure(With.native(mode = "fast")) + .nativeConfigure(With.native(mode = "fast", buildTarget = "static", linkOptions = Seq( + "-I/usr/include", + "-I/usr/local/opt/curl/include", + "-I/opt/homebrew/opt/curl/include" + ))) .nativeConfigure(With.noMiMa) .nativeSettings( libraryDependencies ++= Seq(