b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/src/modules/cnxcc/Makefile |
| 2 | +++ b/src/modules/cnxcc/Makefile |
| 3 | @@ -8,12 +8,10 @@ include ../../Makefile.defs |
| 4 | auto_gen= |
| 5 | NAME=cnxcc.so |
| 6 | |
| 7 | -ifeq ($(CROSS_COMPILE),) |
| 8 | HIREDIS_BUILDER = $(shell \ |
| 9 | if pkg-config --exists hiredis; then \ |
| 10 | echo 'pkg-config hiredis'; \ |
| 11 | fi) |
| 12 | -endif |
| 13 | |
| 14 | ifeq ($(HIREDIS_BUILDER),) |
| 15 | HIREDISDEFS=-I$(LOCALBASE)/include |
| 16 | --- a/src/modules/db_redis/Makefile |
| 17 | +++ b/src/modules/db_redis/Makefile |
| 18 | @@ -5,12 +5,10 @@ include ../../Makefile.defs |
| 19 | auto_gen= |
| 20 | NAME=db_redis.so |
| 21 | |
| 22 | -ifeq ($(CROSS_COMPILE),) |
| 23 | HIREDIS_BUILDER = $(shell \ |
| 24 | if pkg-config --exists hiredis; then \ |
| 25 | echo 'pkg-config hiredis'; \ |
| 26 | fi) |
| 27 | -endif |
| 28 | |
| 29 | ifeq ($(HIREDIS_BUILDER),) |
| 30 | HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis |
| 31 | --- a/src/modules/ndb_redis/Makefile |
| 32 | +++ b/src/modules/ndb_redis/Makefile |
| 33 | @@ -5,12 +5,10 @@ include ../../Makefile.defs |
| 34 | auto_gen= |
| 35 | NAME=ndb_redis.so |
| 36 | |
| 37 | -ifeq ($(CROSS_COMPILE),) |
| 38 | HIREDIS_BUILDER = $(shell \ |
| 39 | if pkg-config --exists hiredis; then \ |
| 40 | echo 'pkg-config hiredis'; \ |
| 41 | fi) |
| 42 | -endif |
| 43 | |
| 44 | ifeq ($(HIREDIS_BUILDER),) |
| 45 | HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis |
| 46 | --- a/src/modules/topos_redis/Makefile |
| 47 | +++ b/src/modules/topos_redis/Makefile |
| 48 | @@ -5,12 +5,10 @@ include ../../Makefile.defs |
| 49 | auto_gen= |
| 50 | NAME=topos_redis.so |
| 51 | |
| 52 | -ifeq ($(CROSS_COMPILE),) |
| 53 | HIREDIS_BUILDER = $(shell \ |
| 54 | if pkg-config --exists hiredis; then \ |
| 55 | echo 'pkg-config hiredis'; \ |
| 56 | fi) |
| 57 | -endif |
| 58 | |
| 59 | ifeq ($(HIREDIS_BUILDER),) |
| 60 | HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis |