Subject: bug#50337:

From: Fejfighter <[email-masked]>
Date: Sat, 2 Oct 2021 00:54:34 +1000

This appears to be left over from earlier days of the port, no longer
needed.

made described change, bootstrapped and loaded new pgtk emacs, no concerns

patch attached
From 21b2a0d21dda757d806440ccb60b95404c6bba59 Mon Sep 17 00:00:00 2001
From: Jeff Walsh <[email-masked]>
Date: Sat, 2 Oct 2021 00:50:08 +1000
Subject: [PATCH] configure.ac (PGTK_LIBS): remove dl dependency

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6ebb966700..c277899b2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2827,7 +2827,7 @@ AC_DEFUN
 PGTK_LIBS=
 if test "$window_system" = "pgtk"; then
   PGTK_OBJ="pgtkfns.o pgtkterm.o pgtkselect.o pgtkmenu.o pgtkim.o xsettings.o"
-  PGTK_LIBS="$GTK_LIBS -ldl"
+  PGTK_LIBS="$GTK_LIBS"
   HAVE_PGTK=yes
   AC_DEFINE([HAVE_PGTK], 1, [Define to 1 if you have pure Gtk+-3.])
 fi
-- 
2.31.1