Skip to content

Commit

Permalink
db_redis: Makefile - updated find command for libhiredis_ssl
Browse files Browse the repository at this point in the history
- silent warnings about not existing directories
  • Loading branch information
miconda committed Jun 20, 2023
1 parent 279cf4e commit e9cc9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/db_redis/Makefile
Expand Up @@ -31,7 +31,7 @@ else
HIREDISLIBSPATH = $(shell $(HIREDIS_BUILDER) --libs-only-L | cut -c 3-)
ifeq ($(HIREDISLIBSPATH),)
GCCSEARCHDIRS = $(shell $(CC) -print-search-dirs | grep -Po '^.*libraries: =.*' | cut -d "=" -f2- | tr : ' ')
ifneq ($(shell find $(GCCSEARCHDIRS) libhiredis_ssl.so),)
ifneq ($(shell find $(GCCSEARCHDIRS) -name libhiredis_ssl.so 2>/dev/null),)
HIREDISDEFS += -DWITH_SSL
HIREDISLIBS += -lhiredis_ssl
endif
Expand Down

0 comments on commit e9cc9fc

Please sign in to comment.