mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Don't copy LLVM shared object on Linux
We copy the LLVM shared object when building Odin on Linux. Contrary the comment in `build_odin.sh`, this is unnecessary, and Odin can be compiled and itself compile things just fine without this step. This is then packaged up at release and leads to #4019 and #4033. The Linux release builds are built on Ubuntu and not strictly supported on other Linux distributions. Building from source is preferred.
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ Linux)
|
|||||||
LDFLAGS="$LDFLAGS -ldl $($LLVM_CONFIG --libs core native --system-libs --libfiles)"
|
LDFLAGS="$LDFLAGS -ldl $($LLVM_CONFIG --libs core native --system-libs --libfiles)"
|
||||||
# Copy libLLVM*.so into current directory for linking
|
# Copy libLLVM*.so into current directory for linking
|
||||||
# NOTE: This is needed by the Linux release pipeline!
|
# NOTE: This is needed by the Linux release pipeline!
|
||||||
cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./
|
# cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./
|
||||||
LDFLAGS="$LDFLAGS -Wl,-rpath=\$ORIGIN"
|
LDFLAGS="$LDFLAGS -Wl,-rpath=\$ORIGIN"
|
||||||
;;
|
;;
|
||||||
OpenBSD)
|
OpenBSD)
|
||||||
|
|||||||
Reference in New Issue
Block a user