From eaae7321c2c84c45f40ccb01233d299644f4e786 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Wed, 31 Aug 2022 19:23:53 -0700 Subject: Polling adapter requires sockcompat.h We need to install our socket compatibility header as the new polling adapter needs it. --- CMakeLists.txt | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cc5f33..7190b0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,7 @@ endif() INSTALL(FILES hiredis.targets DESTINATION build/native) -INSTALL(FILES hiredis.h read.h sds.h async.h alloc.h +INSTALL(FILES hiredis.h read.h sds.h async.h alloc.h sockcompat.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hiredis) INSTALL(DIRECTORY adapters diff --git a/Makefile b/Makefile index 94fbc2f..6d7dd7c 100644 --- a/Makefile +++ b/Makefile @@ -296,7 +296,7 @@ $(SSL_PKGCONFNAME): hiredis_ssl.h install: $(DYLIBNAME) $(STLIBNAME) $(PKGCONFNAME) $(SSL_INSTALL) mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_INCLUDE_PATH)/adapters $(INSTALL_LIBRARY_PATH) - $(INSTALL) hiredis.h async.h read.h sds.h alloc.h $(INSTALL_INCLUDE_PATH) + $(INSTALL) hiredis.h async.h read.h sds.h alloc.h sockcompat.h $(INSTALL_INCLUDE_PATH) $(INSTALL) adapters/*.h $(INSTALL_INCLUDE_PATH)/adapters $(INSTALL) $(DYLIBNAME) $(INSTALL_LIBRARY_PATH)/$(DYLIB_MINOR_NAME) cd $(INSTALL_LIBRARY_PATH) && ln -sf $(DYLIB_MINOR_NAME) $(DYLIBNAME) -- cgit v1.2.3