rbenv / homebrew-tap

24 stars 22 forks source link

Tap does not work under Linux #3

Open coding-bunny opened 3 years ago

coding-bunny commented 3 years ago

Hello,

would it be possible to make the tap compatible with Linux? When trying to install this openssl version on Ubuntu, it fails because of macos specific commands:

x86_64cpuid.s: Assembler messages:
x86_64cpuid.s:2: Error: unknown pseudo-op: `.private_extern'
x86_64cpuid.s:3: Error: unknown pseudo-op: `.mod_init_func'
x86_64cpuid.s:7: Error: unknown pseudo-op: `.private_extern'
make[1]: *** [<builtin>: x86_64cpuid.o] Error 1
make[1]: Leaving directory '/tmp/openssl-1.0-20210216-122171-1a4wijn/openssl-1.0.2t/crypto'
make: *** [Makefile:287: build_crypto] Error 1
bgupta commented 3 years ago

I changed the tap to work in my fork. https://github.com/rbenv/homebrew-tap/compare/master...bgupta:master (Ideally the tap would be able to do the right thing for darwin-x64, darwin-arm and linux-x86, etc.)

bgupta commented 3 years ago

Added a PR https://github.com/rbenv/homebrew-tap/pull/6 Made the support conditional.