--- third_party/ffmpeg/configure.orig	2026-08-31 10:59:09 UTC
+++ third_party/ffmpeg/configure
@@ -7290,8 +7290,8 @@ if ! disabled pthreads && ! enabled w32threads && ! en
         if enabled pthread_np_h; then
             hdrs="$hdrs pthread_np.h"
         fi
-        check_lib pthread_set_name_np "$hdrs" pthread_set_name_np -lpthread
-        check_lib pthread_setname_np "$hdrs" pthread_setname_np -lpthread
+        check_lib pthread_set_name_np pthread_np.h pthread_set_name_np -lpthread
+        check_lib pthread_setname_np pthread_np.h pthread_setname_np -lpthread
         # _GNU_SOURCE gets defined locally in checkasm where
         # pthread_setaffinity_np gets used.
         check_lib pthread_setaffinity_np "$hdrs" pthread_setaffinity_np -lpthread -D_GNU_SOURCE
