Skip to content

Conversation

apteryks
Copy link
Contributor

Fixes #158 fully, including using a system-provided hiredis.

When the hiredis git submodule hasn't been initialized, print a message about it, and attempt to link against the a system-provided hiredis library instead.

  • setup.py (is_hiredis_bundled): New procedure. (get_hiredis_bundled_sources): Likewise. Print a message when bundled_hiredis_sources is empty.
    (get_sources): Adjust to use the above procedure.
    (get_linker_args): Add -lhiredis when the bundled hiredis is not used.

Fixes redis#158 fully, including using a system-provided hiredis.

When the hiredis git submodule hasn't been initialized, print a
message about it, and attempt to link against the a system-provided
hiredis library instead.

* setup.py (is_hiredis_bundled): New procedure.
(get_hiredis_bundled_sources): Likewise.  Print a message when
bundled_hiredis_sources is empty.
(get_sources): Adjust to use the above procedure.
(get_linker_args): Add -lhiredis when the bundled hiredis is not used.
@uglide uglide force-pushed the fallback-to-use-system-hiredis-library branch from b6614ce to ecf8478 Compare April 24, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sdsalloc.h doesn't seem to be installed as part of regular hiredis
2 participants