From 413eed136d89655b1c55a8526d71e3cc0d172b6a Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 7 Nov 2023 22:27:49 +0100 Subject: [PATCH] update Makefile to use relative paths for the phpcpp.so symlink --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9ea93eaf..4e6035c2 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ else endif INSTALL_HEADERS = ${INSTALL_PREFIX}/include -INSTALL_LIB = ${INSTALL_PREFIX}/lib +INSTALL_LIB = ${INSTALL_PREFIX}/lib # @@ -50,7 +50,7 @@ INSTALL_LIB = ${INSTALL_PREFIX}/lib # SONAME = 2.4 -VERSION = 2.4.0 +VERSION = 2.4.1 # @@ -231,11 +231,11 @@ install: ${CP} include/*.h ${INSTALL_HEADERS}/phpcpp if [ -e ${PHP_SHARED_LIBRARY} ]; then \ ${CP} ${PHP_SHARED_LIBRARY} ${INSTALL_LIB}/; \ - ${LN} ${INSTALL_LIB}/${PHP_SHARED_LIBRARY} ${INSTALL_LIB}/libphpcpp.so.$(SONAME); \ - ${LN} ${INSTALL_LIB}/${PHP_SHARED_LIBRARY} ${INSTALL_LIB}/libphpcpp.so; \ + ${LN} ${PHP_SHARED_LIBRARY} ${INSTALL_LIB}/libphpcpp.so.$(SONAME); \ + ${LN} ${PHP_SHARED_LIBRARY} ${INSTALL_LIB}/libphpcpp.so; \ fi if [ -e ${PHP_STATIC_LIBRARY} ]; then ${CP} ${PHP_STATIC_LIBRARY} ${INSTALL_LIB}/; \ - ${LN} ${INSTALL_LIB}/${PHP_STATIC_LIBRARY} ${INSTALL_LIB}/libphpcpp.a; \ + ${LN} ${PHP_STATIC_LIBRARY} ${INSTALL_LIB}/libphpcpp.a; \ fi if `which ldconfig`; then \ ldconfig; \