You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to Makefile Line 22 INSTALL_INCLUDE_PATH= $(DESTDIR)$(PREFIX)/$(INCLUDE_PATH)
if user set INCLUDE_PATH(which is an environment variable affecting gcc) to some colon seperated string , the header file installation path will be /usr/local//somepath1:/somepath2/libhiredis.so.0.13, this is apparently not a proper position.
INCLUDE_PATH is not used by gcc, it uses C_INCLUDE_PATH. LIBRARY_PATH is indeed used, so it might be valid to assume we shouldn't use it.
Changing from ?= to = would make it useless, because it is that way to specifically set these from the outside (not sure if anyone really used it, but here we are)
according to Makefile Line 22
INSTALL_INCLUDE_PATH= $(DESTDIR)$(PREFIX)/$(INCLUDE_PATH)
if user set
INCLUDE_PATH
(which is an environment variable affecting gcc) to some colon seperated string , the header file installation path will be/usr/local//somepath1:/somepath2/libhiredis.so.0.13
, this is apparently not a proper position.same thing with
LIBRARY_PATH
example
the following is a dry run result in my laptop.
solve
I think change
?=
to=
in line 19, 20, 21 will solve the problemThe text was updated successfully, but these errors were encountered: