summaryrefslogtreecommitdiffstats
path: root/package/postgresql/S50postgresql
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-20 18:22:11 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-20 18:35:53 +0200
commit286ee8001c092f9dab1634f778d70d1d8b5d591f (patch)
tree8361c42d83de4c3c35565b44238e7f342c716414 /package/postgresql/S50postgresql
parent616dd6245be75798fa6d9fd057a0fb5d7020dc97 (diff)
downloadbuildroot-286ee8001c092f9dab1634f778d70d1d8b5d591f.tar.gz
buildroot-286ee8001c092f9dab1634f778d70d1d8b5d591f.zip
python3: do not rely only on LIBRARY_PATH for old compilers
The cross-compilation improvements integrated in Python rely on the compiler exposing a line starting with LIBRARY_PATH when called with -E -v. This is used by Python setup.py to find the installation locations of libraries. However, this LIBRARY_PATH line is not shown by very old compilers, such as the gcc 4.2.x compiler used on the AVR32 architecture. This causes libraries installed in the sysroot, such as libffi, to not be detected by the setup.py script. To fix this problem, this patch adds addtional logic to setup.py, which consists in deriving the library paths from the sysroot location, if no LIBRARY_PATH field was found. Fixes: http://autobuild.buildroot.org/results/7a6/7a65e381cc04bf8f74fd63a6dcda502f3c26aeef/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/S50postgresql')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud