On 1/12/2026 6:57 AM, Nicolas George via ffmpeg-devel wrote:
Fix “do "src/doc/t2h.pm" failed, '.' is no longer in @INC; did you mean do 
"./src/doc/t2h.pm"?”
when we have such a symlink.

Ok, but i'm surprised it hasn't been an issue until now.


Signed-off-by: Nicolas George <[email protected]>
---
  configure | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 998b0292b8..46ae0297a3 100755
--- a/configure
+++ b/configure
@@ -4392,7 +4392,7 @@ mkdir -p ffbuild
  if test -f configure; then
      source_path=.
  elif test -f src/configure; then
-    source_path=src
+    source_path=./src
  else
      source_path=$(cd $(dirname "$0"); pwd)
      case "$source_path" in
@@ -6220,7 +6220,7 @@ link_name=$(mktemp -u $TMPDIR/name_XXXXXXXX)
  mkdir "$link_dest"
  $ln_s "$link_dest" "$link_name"
  touch "$link_dest/test_file"
-if [ "$source_path" != "." ] && [ "$source_path" != "src" ] && ([ ! -d src ] || [ -L src ]) 
&& [ -e "$link_name/test_file" ]; then
+if [ "$source_path" != "." ] && [ "$source_path" != "./src" ] && ([ ! -d src ] || [ -L src ]) 
&& [ -e "$link_name/test_file" ]; then
      # create link to source path
      [ -e src ] && rm src
      $ln_s "$source_path" src

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to