[libvirt] [libvirt-php] Remove strip from installation

Lyre liyong at skybility.com
Fri Apr 1 05:25:16 UTC 2011


Make it able to generate debuginfo package.
---
 configure.ac    |    1 -
 src/Makefile.am |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8149349..5ebe416 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,6 @@ AC_LANG([C])
 AC_PROG_INSTALL
 AC_PROG_SED
 AC_PROG_AWK
-AC_CHECK_TOOL([STRIP], [strip])
 AC_CHECK_TOOL([ECHO], [echo])
 AC_CHECK_TOOL([RM], [rm])
 
diff --git a/src/Makefile.am b/src/Makefile.am
index edb5df4..76ebee6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,7 +13,7 @@ build:
 	$(ECHO) "Extension compiled as $(PACKAGE).so"
 
 install-exec-local:
-	$(INSTALL) -m 644 -D --strip $(PACKAGE).so $(DESTDIR)$(PHPEDIR)/$(PACKAGE).so
+	$(INSTALL) -m 644 -D $(PACKAGE).so $(DESTDIR)$(PHPEDIR)/$(PACKAGE).so
 	$(INSTALL) -m 755 -d $(DESTDIR)$(PHPCDIR)
 	$(ECHO) "extension=$(PACKAGE).so" > $(DESTDIR)$(PHPCDIR)/libvirt-php.ini
 
-- 
1.7.3.4
¹




More information about the libvir-list mailing list