patch 8.2.4457: the GPM library can only be linked statically

Problem:    The GPM library can only be linked statically.
Solution:   Make it possible to load the GPM library dynamically. (Damien)
This commit is contained in:
Bram Moolenaar
2022-02-23 18:07:38 +00:00
parent dd2dfb3cb0
commit 33fc4a6307
9 changed files with 101 additions and 8 deletions

View File

@ -952,6 +952,12 @@
*/
#if defined(FEAT_NORMAL) && defined(HAVE_GPM)
# define FEAT_MOUSE_GPM
/*
* +mouse_gpm/dyn Load libgpm dynamically.
*/
# ifndef DYNAMIC_GPM
// # define DYNAMIC_GPM
# endif
#endif
#if defined(FEAT_NORMAL) && defined(HAVE_SYSMOUSE)