Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (41 sloc) 1.721 kb
cace41bd »
2010-09-12 Install Python and enable support in libvirt and libxml2
1 --- a/testThreads.c 2010-01-21 21:32:25 +0000
2 +++ b/testThreads.c 2010-01-21 21:33:15 +0000
3 @@ -107,7 +107,7 @@
4
5 for (i = 0; i < num_threads; i++) {
6 results[i] = NULL;
7 - tid[i] = (pthread_t) -1;
8 + memset(&tid[i], 0, sizeof(pthread_t));
9 }
10
11 for (i = 0; i < num_threads; i++) {
12 --- a/python/Makefile.am 2009-09-24 15:32:00 +0000
13 +++ b/python/Makefile.am 2010-09-11 20:32:31 +0000
14 @@ -31,7 +31,7 @@
15
16 libxml2mod_la_SOURCES = libxml.c types.c
17 nodist_libxml2mod_la_SOURCES = libxml2-py.c
18 -libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ @PYTHON_LIBS@
19 +libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ -L/python/libs @PYTHON_LIBS@ -Wl,libxml2mod.def
20
21 libxml.c: libxml2-py.h # to generate before to compile
22
23 --- a/python/Makefile.in 2010-09-10 22:50:20 +0000
24 +++ b/python/Makefile.in 2010-09-10 22:50:30 +0000
25 @@ -222,7 +222,7 @@
26 PERL = @PERL@
27 PYTHON = @PYTHON@
28 PYTHON_INCLUDES = @PYTHON_INCLUDES@
29 -PYTHON_LIBS = @PYTHON_LIBS@
30 +PYTHON_LIBS = -L/python/libs @PYTHON_LIBS@
31 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
32 PYTHON_SUBDIR = @PYTHON_SUBDIR@
33 PYTHON_TESTS = @PYTHON_TESTS@
34 @@ -388,7 +388,7 @@
35 @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
36 @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c
37 @WITH_PYTHON_TRUE@nodist_libxml2mod_la_SOURCES = libxml2-py.c
38 -@WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ @PYTHON_LIBS@
39 +@WITH_PYTHON_TRUE@libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ -L/python/libs @PYTHON_LIBS@ -Wl,libxml2mod.def
40 @WITH_PYTHON_TRUE@python_DATA = \
41 @WITH_PYTHON_TRUE@ libxml2.py
42
43 --- a/python/libxml2mod.def
44 +++ b/python/libxml2mod.def
45 @@ -0,0 +1,2 @@
46 +EXPORTS
47 + initlibxml2mod
Something went wrong with that request. Please try again.