aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
authorFernando Ramos <greenfoo@gluegarage.com>2019-04-21 11:26:09 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-04-22 22:37:47 +0300
commita7a7f0ba64bc892715591cf369c29dde1b64c030 (patch)
tree235794a83897ff15f8c1359507429498524678d1 /mesonbuild/mesonmain.py
parent8b42dc9274d79e7e85494a1e4099792a05e79ca1 (diff)
downloadmeson-a7a7f0ba64bc892715591cf369c29dde1b64c030.zip
meson-a7a7f0ba64bc892715591cf369c29dde1b64c030.tar.gz
meson-a7a7f0ba64bc892715591cf369c29dde1b64c030.tar.bz2
Use individual entries for '-Wl,-rpath-link'
When the '-Wl,-rpath-link' option refers to several folders, we can either use one single entry, like this: -Wl,-rpath-link,/path/to/folder1:/path/to/folder2:/path/to/folder3 ...or we can use multiple entries, like this: -Wl,-rpath-link,/path/to/folder1 -Wl,-rpath-link,/path/to/folder2 -Wl,-rpath-link,/path/to/folder3 Because the '-rpath-link' requires full folder paths, using the one single entry option can result in a very long argument. While this shouldn't be a problem, at least *one* toolchain (the latest version of the Tensilica toolchain for Xtensa processors) segfaults when using arguments that are too long. Because other toolchains might be affected and because using multiple entries instead of a very long one doesn't seem to have any drawback, this patch changes the arguments building logic to use multiple '-Wl,-rpath-link' entries.
Diffstat (limited to 'mesonbuild/mesonmain.py')
0 files changed, 0 insertions, 0 deletions