diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-11-20 14:53:30 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-22 19:14:11 +0100 |
commit | fbb8cbfdf4ef0be10d2e9b8e51cde98d2909a120 (patch) | |
tree | 74a832dfaadae48d06124d7c45f77307b02e145c /package/python-certifi/python-certifi.hash | |
parent | a8998ae9c545f2fc262f9925f85835a92a86ee5c (diff) | |
download | buildroot-fbb8cbfdf4ef0be10d2e9b8e51cde98d2909a120.tar.gz buildroot-fbb8cbfdf4ef0be10d2e9b8e51cde98d2909a120.zip |
python3: add patch to fix --includes / --ldflags output of python3-config
The build/real prefix handling using sed breaks if build != real and the
standard include / lib directories are used ($prefix/include and $prefix/lib).
E.G.
prefix_build="/usr", libdir="$prefix/lib", includedir="$prefix/include".
If this gets installed with make DESTDIR="/foo" install, then we end up with
prefix_real = prefix = "/foo/usr" as expected, but
includedir="/foo/foo/usr/include" and libdir="/foo/foo/usr/lib" because of
the double sed invocation (prefix is already expanded). Work around it by
ensuring we only match the beginning of the string.
Submitted upstream: http://bugs.python.org/issue22907
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-certifi/python-certifi.hash')
0 files changed, 0 insertions, 0 deletions