aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2025-01-05 14:23:51 +0100
committerGitHub <noreply@github.com>2025-01-05 14:23:51 +0100
commitaa4bc10a84bcb4df5f63033243c3ea9d3f4fe0c4 (patch)
tree41b66e9e0c646c3b04454c5886b21ee3c48d841a
parent73d14271279108dcf3204c693e6617b72d31fe38 (diff)
parent0b0ae52be539ae195c0ee70674a0e87581bc9696 (diff)
Merge pull request #4649 from dspx-plcr/master
add default -I and -L paths for OpenBSD
-rwxr-xr-xbuild_odin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_odin.sh b/build_odin.sh
index 3547689d5..d909de5c8 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)