hiredis
hiredis copied to clipboard
Makefile: correctly handle version suffixes on macOS
On macOS, the version suffix of a shared library comes before the .dylib
suffix, which is different from the convention on other systems. Currently, the Makefile only overrides DYLIB_MINOR_NAME
for macOS, but does not handle the other similar variables, namely DYLIB_MAJOR_NAME
, SSL_DYLIB_MINOR_NAME
, and SSL_DYLIB_MAJOR_NAME
.
This PR fixes the issue by overriding all these variables for macOS.