diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-09-13 11:22:42 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2022-09-13 11:22:42 +0900 |
commit | 2fe78f50bf6a5ea3e4c235f0ee5f6be66f42996e (patch) | |
tree | 685d2f0b53b5a63f090e5a9a3235beca45096687 /python | |
parent | f2b1186ae61291c1c33777000254ff664623f18e (diff) | |
download | libxslt-2fe78f50bf6a5ea3e4c235f0ee5f6be66f42996e.tar.gz libxslt-2fe78f50bf6a5ea3e4c235f0ee5f6be66f42996e.tar.bz2 libxslt-2fe78f50bf6a5ea3e4c235f0ee5f6be66f42996e.zip |
Imported Upstream version 1.1.37upstream/1.1.37
Diffstat (limited to 'python')
-rw-r--r-- | python/Makefile.am | 9 | ||||
-rw-r--r-- | python/libxslt.c | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/python/Makefile.am b/python/Makefile.am index 24ede9c3..fa7ed00b 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -19,7 +19,7 @@ libxsltmod_la_CPPFLAGS = \ -I$(top_srcdir)/libxslt \ -I$(top_srcdir) \ -I../libexslt \ - $(PYTHON_CFLAGS) $(LIBXML_CFLAGS) + $(PYTHON_CFLAGS) $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) libxsltmod_la_SOURCES = libxslt.c types.c nodist_libxsltmod_la_SOURCES = libxslt-py.c libxsltmod_la_LIBADD = \ @@ -31,7 +31,7 @@ libxsltmod_la_LDFLAGS = -module -avoid-version libxslt.py: $(srcdir)/libxsl.py libxsltclass.py cat $(srcdir)/libxsl.py libxsltclass.py > $@ -python_PYTHON = libxslt.py +nodist_python_PYTHON = libxslt.py GENERATE = generator.py API_DESC = $(top_srcdir)/doc/libxslt-api.xml $(srcdir)/libxslt-python-api.xml @@ -57,4 +57,7 @@ endif tests test: all cd tests && $(MAKE) tests -CLEANFILES = $(GENERATED) *.o libxslt.so *.pyc libxslt.py gen_prog +CLEANFILES = $(GENERATED) *.pyc libxslt.py gen_prog + +clean-local: + rm -rf __pycache__ diff --git a/python/libxslt.c b/python/libxslt.c index 353939e3..0758d606 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -1280,7 +1280,6 @@ void initlibxsltmod(void) { */ libxslt_xsltErrorInitialize(); xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - xmlDefaultSAXHandler.cdataBlock = NULL; /* * Register the EXSLT extensions and the test module */ |