mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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)
This commit is contained in:
parent
d5e8f483f9
commit
679b9cc9ff
1 changed files with 10 additions and 0 deletions
10
configure.ac
10
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue