[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21941: ld-wrapper incorrectly computes library search path
From: |
Ludovic Courtès |
Subject: |
bug#21941: ld-wrapper incorrectly computes library search path |
Date: |
Sat, 28 Nov 2015 22:12:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> Currently ‘ld-wrapper’ builds the library search path as it encounters
> -L flags and uses the current search path when it encounters a -l flag.
>
> This is contrary to what ld actually does (info "(ld) Options"):
>
> `-L SEARCHDIR'
> `--library-path=SEARCHDIR'
> […] All `-L' options apply to all `-l' options,
> regardless of the order in which the options appear.
Fixed in e946b609.
Ludo’.