Skip to content

Instantly share code, notes, and snippets.

View vic3t3chn0's full-sized avatar
🏠
Working from home

Pedro Dias Vicente (Gleentech Solutions) vic3t3chn0

🏠
Working from home
View GitHub Profile
@vic3t3chn0
vic3t3chn0 / brew_airyx.patch
Last active January 31, 2022 18:36 — forked from cielavenir/linuxbrew_freebsd.patch
Linuxbrew on FreeBSD
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 0f9a00a..c2bed9e 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -299,7 +299,7 @@ module Homebrew
def symlink_ld_so
ld_so = HOMEBREW_PREFIX/"lib/ld.so"
return if ld_so.readable?
- sys_interpreter = ["/lib64/ld-linux-x86-64.so.2", "/lib/ld-linux.so.3", "/lib/ld-linux.so.2", "/lib/ld-linux-armhf.so.3"].find do |s|
+ sys_interpreter = ['/libexec/ld-elf.so.1'].find do |s|