aboutsummaryrefslogtreecommitdiff
path: root/build_odin.sh
diff options
context:
space:
mode:
authorDespereaux Polacre <dspx.plcr@proton.me>2025-01-02 21:31:34 +0100
committerDespereaux Polacre <dspx.plcr@proton.me>2025-01-02 21:31:34 +0100
commit0b0ae52be539ae195c0ee70674a0e87581bc9696 (patch)
treeb7042c7bfd12dc7f52ffd453cfda728013424c43 /build_odin.sh
parentfdd3b46c10dae9adbc1484a795ed119fbf4a0baa (diff)
add default -I and -L paths for OpenBSD
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 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)