diff options
Diffstat (limited to 'dev-lang/crystal/files')
-rw-r--r-- | dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch b/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch new file mode 100644 index 000000000000..4dc0b42d90a0 --- /dev/null +++ b/dev-lang/crystal/files/crystal-0.34.0-no-usr-lib.patch @@ -0,0 +1,14 @@ +On amd64 linux /usr/lib does not match default 64-bit ABI. + +Let's rely on default compiler and linker paths instead. +--- a/src/compiler/crystal/codegen/link.cr ++++ b/src/compiler/crystal/codegen/link.cr +@@ -106,7 +106,7 @@ module Crystal + + private def lib_flags_posix + library_path = ENV["LIBRARY_PATH"]?.try(&.split(':', remove_empty: true)) || +- ["/usr/lib", "/usr/local/lib"] ++ [] of String + has_pkg_config = nil + + String.build do |flags| |