Skip to content

Commit

Permalink
Provide languageNative with correct include options
Browse files Browse the repository at this point in the history
  • Loading branch information
reidspencer committed Jan 12, 2025
1 parent dd9f0e3 commit 6670d9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6670d9d

Please sign in to comment.