[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 679b9cc9ff: Link with libdl when using pgtk
From: |
Robert Pluim |
Subject: |
master 679b9cc9ff: Link with libdl when using pgtk |
Date: |
Wed, 16 Mar 2022 10:32:19 -0400 (EDT) |
branch: master
commit 679b9cc9ff3c65b4b6d3da2987703e0dfd3001be
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
Link with libdl when using pgtk
* configure.ac: Define LIBMODULES on GNU/Linux when using pgtk, even
when not using modules, since pgtkterm.c uses dlsym. (Bug#54378)
---
configure.ac | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/configure.ac b/configure.ac
index a315eeb6bd..bc17935eb1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3940,6 +3940,16 @@ case "${opsys}" in
darwin) MODULES_SECONDARY_SUFFIX='.so' ;;
*) MODULES_SECONDARY_SUFFIX='' ;;
esac
+
+# pgtkterm.c uses dlsym
+if test $window_system = pgtk; then
+ case $opsys in
+ gnu|gnu-linux)
+ LIBMODULES="-ldl"
+ ;;
+ esac
+fi
+
if test "${with_modules}" != "no"; then
case $opsys in
gnu|gnu-linux)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 679b9cc9ff: Link with libdl when using pgtk,
Robert Pluim <=