summaryrefslogtreecommitdiff
path: root/0002-Don-t-run-ldconfig-on-install.patch
blob: 2bc207a17f6b16a8f19f40fa889d99ca6b16510a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Tzafrir Cohen <tzafrir@debian.org>
Date: Sun, 15 May 2016 10:31:34 +0300
Subject: Don't run ldconfig on install

Another sensible patch. Unlike previous patch, not sure if it will be
acceptable upstream.
---
 Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Makefile b/Makefile
index b7a63e9..a117b70 100644
--- a/Makefile
+++ b/Makefile
@@ -217,7 +217,4 @@ ifneq ($(wildcard ${PHP_STATIC_LIBRARY}),)
 	${CP} ${PHP_STATIC_LIBRARY} $(DESTDIR)${INSTALL_LIB}/
 	${LN} ${PHP_STATIC_LIBRARY} $(DESTDIR)${INSTALL_LIB}/libphpcpp.a
 endif
-	if `which ldconfig`; then \
-		sudo ldconfig; \
-	fi