]> git.ipfire.org Git - thirdparty/libtool.git/commit
ltmain.in: Fix mistaking a directory as an executable
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Wed, 19 Feb 2025 23:37:27 +0000 (01:37 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 20 Feb 2025 18:39:14 +0000 (20:39 +0200)
commitf4c10752cc4f27cb2740761ade27b1282468d540
tree5e838e0405fa273e64d1bd4e942ea91f7463f92e
parentb267d3bd494d85c4fd1cd1f47d424c75e6016153
ltmain.in: Fix mistaking a directory as an executable

find_executable() can return a directory of the same name as the target
executable if the directory is found earlier in the PATH, which causes
check_executable() to fail.

Reported: https://savannah.gnu.org/support/?111191

* build-aux/ltmain.in: Check if directory is found before executable
  in the PATH.
build-aux/ltmain.in