When trying to compile redis on an M1, the test in the hiredis Makefile uses a hard-coded pathname for the openssl
includes and library files which is wrong using the latest version of Homebrew on Apple Silicon (it should be something like /opt/homebrew/Cellar/openssl\@1.1/1.1.1k/)
To reproduce
Clone redis from GH and try to compile.
Expected behavior
Should compile w/o issues.
Additional information
Homebrew version is 3.2.5, redis branch is unstable.
Comment From: yossigo
Hi @chrisAtRedisLabs, pushed a trivial fix but I'll still appreciate you can confirm it does the job on an M1. Thanks!
Comment From: chrisAtRedisLabs
Works as I implemented the same hack to get this to work after opening the issue (but hardcoded w/o the platform check) :-). Thanks for the quick reaction.