aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2011-06-01 13:02:58 -0700
committerGravatar Carl Worth <cworth@cworth.org>2011-06-01 13:02:58 -0700
commit574f408816e636f677b14384c18cc2e388991411 (patch)
treeae78b1964d623bd700504aa89d931c9e34a97879 /vim
parente96741388a05fea1df68346770d161a52e93d520 (diff)
configure: Fix detection of libdir in ldconfig configuration
Ever since commit b4b5e9ce4dac62111ec11da6d22b7e618056801f the detection of libdir in the ldconfig configuration has been broken, resulting in RPATH being set when not needed and not wanted. The cause was a change from an IFS setting of: IFS="$(printf '\n\t')" to a new setting of: IFS="$(printf '\n')" That looks desirable since we want to split the output of ldconfig based on newlines, (and not split on any filename that might have an embedded tab in it). The subtle bug in the above is that the shell trims any trailing newlines when performing command substitution so the final statement above was equivalent to: IFS='' which prevented any splitting of the ldconfig output at all. Fix this by avoiding command substitution and just using a literal newline in the source file for setting this variable.
Diffstat (limited to 'vim')
0 files changed, 0 insertions, 0 deletions