libxslt: Update to remove python2 modules and disable static libraries

Message ID 20210511191639.3673777-1-adolf.belka@ipfire.org
State Accepted
Commit 5fe1a74adfb8a776cdddb0de832c9e9f4dc12041
Headers
Series libxslt: Update to remove python2 modules and disable static libraries |

Commit Message

Adolf Belka May 11, 2021, 7:16 p.m. UTC
  - Add --without-python and --disable-static to the configure section
   python2 modules not required for libxslt use in IPFire
   disable build of static libraries
- Update rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libxslt | 5 -----
 lfs/libxslt                     | 5 ++++-
 2 files changed, 4 insertions(+), 6 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/libxslt b/config/rootfiles/common/libxslt
index be00b2426..3c8d144a5 100644
--- a/config/rootfiles/common/libxslt
+++ b/config/rootfiles/common/libxslt
@@ -39,11 +39,6 @@  usr/lib/libxslt.so.1
 usr/lib/libxslt.so.1.1.28
 #usr/lib/pkgconfig/libexslt.pc
 #usr/lib/pkgconfig/libxslt.pc
-usr/lib/python2.7/site-packages/libxml2.pyc
-#usr/lib/python2.7/site-packages/libxslt.py
-#usr/lib/python2.7/site-packages/libxsltmod.a
-#usr/lib/python2.7/site-packages/libxsltmod.la
-usr/lib/python2.7/site-packages/libxsltmod.so
 #usr/lib/xsltConf.sh
 #usr/share/aclocal/libxslt.m4
 #usr/share/doc/libxslt-1.1.28
diff --git a/lfs/libxslt b/lfs/libxslt
index 86ebee30e..159956b1a 100644
--- a/lfs/libxslt
+++ b/lfs/libxslt
@@ -71,7 +71,10 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./configure --prefix=/usr
+	cd $(DIR_APP) && ./configure 		\
+			--prefix=/usr		\
+			--disable-static	\
+			--without-python
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)