diff options
| author | Felipe Lavratti <felipelav@gmail.com> | 2022-09-21 00:50:34 +0100 |
|---|---|---|
| committer | Felipe Lavratti <felipelav@gmail.com> | 2022-09-21 00:50:34 +0100 |
| commit | 5e9ff85fa89bbc3763cdbdb2fac17e8430852b46 (patch) | |
| tree | eee4c94c76e3be20e2a41240d7111f9ded531856 /build_odin.sh | |
| parent | eb7a9c55b03efe0245eb4ccd1abd552edc99224d (diff) | |
Changed nightly build for linux to include the llvm library file
Diffstat (limited to 'build_odin.sh')
| -rwxr-xr-x | build_odin.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build_odin.sh b/build_odin.sh index 62d8a0f59..b7462106b 100755 --- a/build_odin.sh +++ b/build_odin.sh @@ -99,7 +99,8 @@ config_linux() { LDFLAGS="$LDFLAGS -ldl" CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)" - LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs)" + LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs --libfiles) -Wl,-rpath=\$ORIGIN" + cp $($LLVM_CONFIG --libfiles) ./ } build_odin() { |