fix python compile error (#1455)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6676 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
16
lang/python/patches/100-compile_fix.patch
Normal file
16
lang/python/patches/100-compile_fix.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- python.old/Makefile.pre.in 2007-03-24 19:55:34.314582384 +0100
|
||||
+++ python.dev/Makefile.pre.in 2007-03-24 19:57:05.385737464 +0100
|
||||
@@ -750,11 +750,11 @@
|
||||
done; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
|
||||
- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
$(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||
-d $(LIBDEST) -f \
|
||||
-x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
|
||||
- PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
|
||||
$(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \
|
||||
-d $(LIBDEST) -f \
|
||||
-x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST)
|
Reference in New Issue
Block a user