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 or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3477#issuecomment-1587665039
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3477/[email protected]>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to