components/libxml2/patches/16.python-makefile.patch
branchs11-update
changeset 2452 9dc4dfa4b04d
parent 2451 f54396da08ea
child 2454 82b8521a2f38
equal deleted inserted replaced
2451:f54396da08ea 2452:9dc4dfa4b04d
     1 This patch copied/pasted from this link:
       
     2 http://git.gnome.org/browse/libxml2/commit/?id=38af74f7b18af17097c1888bc4c96ab6a30e3bdf
       
     3 ----------------------------------------------------------------------
       
     4 From 38af74f7b18af17097c1888bc4c96ab6a30e3bdf Mon Sep 17 00:00:00 2001
       
     5 From: Paul Smith <[email protected]>
       
     6 Date: Mon, 15 Mar 2010 09:22:25 +0000
       
     7 Subject: fix build error in libxml2/python
       
     8 
       
     9 There are missing $(srcdir) values in libxml2/python/Makefile.am which
       
    10 cause it to fail if built remote from out of tree.
       
    11 ---
       
    12 diff --git a/python/Makefile.am b/python/Makefile.am
       
    13 index 8f148b1..3cf87e7 100644
       
    14 --- a/python/Makefile.am
       
    15 +++ b/python/Makefile.am
       
    16 @@ -29,11 +29,11 @@ mylibs = \
       
    17  
       
    18  python_LTLIBRARIES = libxml2mod.la
       
    19  
       
    20 -libxml2mod_la_SOURCES = libxml.c types.c
       
    21 +libxml2mod_la_SOURCES = $(srcdir)/libxml.c $(srcdir)/types.c
       
    22  nodist_libxml2mod_la_SOURCES = libxml2-py.c
       
    23  libxml2mod_la_LIBADD = $(mylibs) @CYGWIN_EXTRA_PYTHON_LIBADD@ @PYTHON_LIBS@
       
    24  
       
    25 -libxml.c: libxml2-py.h # to generate before to compile
       
    26 +$(srcdir)/libxml.c: libxml2-py.h # to generate before to compile
       
    27  
       
    28  
       
    29  libxml2.py: $(srcdir)/libxml.py libxml2class.py
       
    30 --
       
    31 cgit v0.9.0.2