mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
the spec file will now build libxslt-python, fought with shared and other
* libxslt.spec.in python/Makefile.am python/libxsl.py: the spec file will now build libxslt-python, fought with shared and other crazyness, seems to work now :-) * doc/libxslt-api.xml: regenerated Daniel
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
SUBDIRS= . tests
|
||||
|
||||
LIBS=-L../libxslt/.libs -L../libxslt -lxslt -L../libexslt/.libs -L../libexslt -lexslt $(PYTHON_SITE_PACKAGES)/_libxml.so $(LIBXML_LIBS)
|
||||
LIBS=-L../libxslt/.libs -L../libxslt -lxslt -L../libexslt/.libs -L../libexslt -lexslt # $(PYTHON_SITE_PACKAGES)/_libxml.so $(LIBXML_LIBS)
|
||||
INCLUDES=-I/usr/include/python$(PYTHON_VERSION) -I$(PYTHON_INCLUDES) $(LIBXML_CFLAGS) -I$(top_srcdir)
|
||||
SHCFLAGS=$(INCLUDES) -Wall -fPIC -g
|
||||
LINK_FLAGS= -shared
|
||||
@ -29,7 +29,7 @@ _libxslt.so: libxslt.o libxslt-py.o types.o
|
||||
|
||||
_libxslt.so.dv: libxslt.o libxslt-py.o types.o
|
||||
rm -f _libxslt.so
|
||||
$(CC) $(LINK_FLAGS) libxslt.o libxslt-py.o types.o -L../libxslt/.libs -L../libxslt -lxslt -L../libexslt/.libs -L../libexslt -lexslt $(HOME)/XML/python/_libxml.so $(HOME)/XML/.libs/libxml2.a -o _libxslt.so
|
||||
$(CC) $(LINK_FLAGS) -o _libxslt.so libxslt.o libxslt-py.o types.o -L../libxslt/.libs -L../libxslt -lxslt -L../libexslt/.libs -L../libexslt -lexslt # $(HOME)/XML/python/_libxml.so $(HOME)/XML/.libs/libxml2.a
|
||||
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(DESTDIR)$(PYTHON_SITE_PACKAGES)
|
||||
|
@ -1,5 +1,5 @@
|
||||
from libxml2 import *
|
||||
import _libxslt
|
||||
from libxml2 import *
|
||||
|
||||
#
|
||||
# Everything below this point is automatically generated
|
||||
|
Reference in New Issue
Block a user