packages/lang/pygobject/patches/100-compile.patch
blogic 7936aec182 add & fix python modules
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-24 18:01:46 +00:00

12 lines
589 B
Diff

diff -urN pygobject-2.14.0.orig/gobject/Makefile.in pygobject-2.14.0/gobject/Makefile.in
--- pygobject-2.14.0.orig/gobject/Makefile.in 2008-05-22 21:54:05.000000000 +0100
+++ pygobject-2.14.0/gobject/Makefile.in 2008-05-22 21:58:47.000000000 +0100
@@ -1040,6 +1040,7 @@
rm -f constants.py
cp $(srcdir)/constants.py.in constants.py
chmod 644 constants.py
+ gcc $(GLIB_CFLAGS) generate-constants.c -o generate-constants
$(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
chmod 444 constants.py
# Tell versions [3.59,3.63) of GNU make to not export all variables.