I see that the Makefile does a ls on a path that is taken from the output of pkg-config hiredis --libs-only-L, but in my Ubuntu 22.04 the output is empty (the libhiredis-dev is installed from package, thus the libs are in the standard location).

Therefore I assume that your PR is going to work only when libhiredis is installed in a custom location.

Maybe you can leverage libraries paths in the output of gcc -print-search-dirs or clang -print-search-dirs (in Makefile it should be the $(CC) -print-search-dirs when pkg-config hiredis --libs-only-L returns empty string.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3477/c1587665039@github.com>