summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-08-31 19:23:53 -0700
committerMichael Grunder <michael.grunder@gmail.com>2022-09-01 00:50:23 -0700
commiteaae7321c2c84c45f40ccb01233d299644f4e786 (patch)
tree035fc146d561d1d5d9a0dfb74b8019f91ef0585c
parent0a5fa3ddee9059e8ca98f6ac0f5683aba31f5173 (diff)
Polling adapter requires sockcompat.h
We need to install our socket compatibility header as the new polling adapter needs it.
-rw-r--r--CMakeLists.txt2
-rw-r--r--Makefile2
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)