summaryrefslogtreecommitdiffstats
path: root/package/python-web2py/python-web2py.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2018-11-28 21:44:04 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-29 23:00:26 +0100
commit9c43f28de450adeae998d0e0d974777441510c76 (patch)
tree45bf5a04853a2a0e1dac31d12b11080b01c3c34a /package/python-web2py/python-web2py.mk
parentd68f3ba156074c5dc4bd96a19cb85ae8c5ae2754 (diff)
downloadbuildroot-9c43f28de450adeae998d0e0d974777441510c76.tar.gz
buildroot-9c43f28de450adeae998d0e0d974777441510c76.zip
package/pkg-generic: ensure absolute paths in config-script fixups
In case a config script is called from a relative path, the $(dirname $0) would return a relative path too. Those paths are usually parts of includes or libraries search directories, and the packagfes buildsystems may chdir() anywhere, and thus the relative path will no longer be valid. For example: $ ./host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/net-snmp-config --cflags [...] -I./host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../.././bin/../powerpc-buildroot-linux-uclibc/sysroot/usr/include/libnl3 [...] Canonicalise the path to be sure we use absolute paths. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-web2py/python-web2py.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud