diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-03 12:08:52 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-03 12:08:52 +0000 |
| commit | ba1c4fa94426f8e46bf0e9ab1d225039bdb78158 (patch) | |
| tree | 1a279f092f44d36c8218ee2430005b6a772a83d3 /meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch | |
| parent | 3b5336f7cf1c01c23e2fd81b54fbf89558fc2cd4 (diff) | |
| download | poky-ba1c4fa94426f8e46bf0e9ab1d225039bdb78158.tar.gz | |
python: Update 2.5 -> 2.6 (from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch')
| -rw-r--r-- | meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch b/meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch new file mode 100644 index 0000000000..2559e3a0e4 --- /dev/null +++ b/meta/packages/python/python-2.6.1/00-fix-bindir-libdir-for-cross.patch | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # $(exec_prefix) points to the wrong directory, when installing | ||
| 2 | # a cross-build. @bindir@ and @libdir@ works better and doesn't | ||
| 3 | # affect the native build. | ||
| 4 | # Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | ||
| 5 | |||
| 6 | Index: Python-2.6.1/Makefile.pre.in | ||
| 7 | =================================================================== | ||
| 8 | --- Python-2.6.1.orig/Makefile.pre.in | ||
| 9 | +++ Python-2.6.1/Makefile.pre.in | ||
| 10 | @@ -86,8 +86,8 @@ exec_prefix= @exec_prefix@ | ||
| 11 | datarootdir= @datarootdir@ | ||
| 12 | |||
| 13 | # Expanded directories | ||
| 14 | -BINDIR= $(exec_prefix)/bin | ||
| 15 | -LIBDIR= $(exec_prefix)/lib | ||
| 16 | +BINDIR= @bindir@ | ||
| 17 | +LIBDIR= @libdir@ | ||
| 18 | MANDIR= @mandir@ | ||
| 19 | INCLUDEDIR= @includedir@ | ||
| 20 | CONFINCLUDEDIR= $(exec_prefix)/include | ||
