Sfoglia il codice sorgente

Merge pull request #4649 from dspx-plcr/master

add default -I and -L paths for OpenBSD
Laytan 8 mesi fa
parent
commit
aa4bc10a84
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      build_odin.sh

+ 2 - 2
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)