libtool: fix empty "-L" in compiler_lib_search_path
commit4da5b57531bc2db0131bb26ad017792688674890
authorXiang.Lin <myd.xia@gmail.com>
Mon, 6 Nov 2023 07:07:56 +0000 (6 15:07 +0800)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 16 Jan 2024 17:47:20 +0000 (16 19:47 +0200)
tree205ef59c05cc0966120a0eeb928a13f53c0aa487
parent47c71f61df9ace4956cc943f291480315174726b
libtool: fix empty "-L" in compiler_lib_search_path

If the compiler places a space between "-L" and the path, the path will
be skipped and only an empty "-L" will appear in the final
compiler_lib_search_path. This will cause the first library in postdeps
following compiler_lib_search_path to be accidentally skipped.

* libtool.m4: Fixed string comparison by adding missing 'x's.
m4/libtool.m4