aboutsummaryrefslogtreecommitdiff
path: root/build_odin.sh
diff options
context:
space:
mode:
authoravanspector <94762082+avanspector@users.noreply.github.com>2025-01-06 16:42:29 +0400
committerGitHub <noreply@github.com>2025-01-06 16:42:29 +0400
commitbe7799459be05af307a79d80bd4ac9f61eedac7c (patch)
tree4c272a6d20028768f731367fca3325eeceb3567d /build_odin.sh
parenta20d85df1eaf7a24c407256786b714044a87e5ff (diff)
parent98efb03934b464a1b23759b5695a12ff37588357 (diff)
Merge branch 'odin-lang:master' into master
Diffstat (limited to 'build_odin.sh')
-rwxr-xr-xbuild_odin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_odin.sh b/build_odin.sh
index 09094c151..f4452e291 100755
--- a/build_odin.sh
+++ b/build_odin.sh
@@ -110,8 +110,8 @@ Linux)
LDFLAGS="$LDFLAGS -Wl,-rpath=\$ORIGIN"
;;
OpenBSD)
- CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
- LDFLAGS="$LDFLAGS -liconv"
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include $($LLVM_CONFIG --cxxflags --ldflags)"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib -liconv"
LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs)"
;;
Haiku)