diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-02-07 14:27:08 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-07 14:27:08 -0500 |
commit | f0b235c138d26caafeda44475818508f1911e78e (patch) | |
tree | d6236883a7123b94e1cc66fa1cca44f31d864acb /src/prng/drand48.c | |
parent | c7f0da4134d4e7f2efd295e7fb738c65c469fbd1 (diff) | |
download | musl-f0b235c138d26caafeda44475818508f1911e78e.tar.gz |
honor rpath $ORIGIN for ldd/ldso command with program in working dir
the rpath fixup code assumed any module's name field would contain at
least one slash, an invariant which is usually met but not in the case
of a main executable loaded from the current working directory by
running ldd or ldso as a command. it would be possible to make this
invariant always hold, but it has a higher runtime allocation cost and
does not seem useful elsewhere, so just patch things up in fixup_rpath
instead.
Diffstat (limited to 'src/prng/drand48.c')
0 files changed, 0 insertions, 0 deletions