add & fix python modules
[openwrt/svn-archive/archive.git] / lang / pygobject / patches / 100-compile.patch
1 diff -urN pygobject-2.14.0.orig/gobject/Makefile.in pygobject-2.14.0/gobject/Makefile.in
2 --- pygobject-2.14.0.orig/gobject/Makefile.in 2008-05-22 21:54:05.000000000 +0100
3 +++ pygobject-2.14.0/gobject/Makefile.in 2008-05-22 21:58:47.000000000 +0100
4 @@ -1040,6 +1040,7 @@
5 rm -f constants.py
6 cp $(srcdir)/constants.py.in constants.py
7 chmod 644 constants.py
8 + gcc $(GLIB_CFLAGS) generate-constants.c -o generate-constants
9 $(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
10 chmod 444 constants.py
11 # Tell versions [3.59,3.63) of GNU make to not export all variables.