fritzkink
2023-12-26 9ab11effb25dbfd53277ba2fb8e8a3a8434663f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- memcached-1.6.22/configure.ac    2023-10-16 08:03:25.000000000 +0200
+++ memcached-1.6.22/configure.ac.new    2023-12-25 19:29:02.691348520 +0100
@@ -369,7 +369,7 @@
   le_found=no
   for ledir in $trylibeventdir "" $prefix /usr/local ; do
     LDFLAGS="$saved_LDFLAGS"
-    LIBS="-levent $saved_LIBS"
+    LIBS="-levent-2.1 $saved_LIBS"
 
     # Skip the directory if it isn't there.
     if test ! -z "$ledir" -a ! -d "$ledir" ; then
@@ -417,7 +417,7 @@
 ])
   fi
 ])
-LIBS="-levent $LIBS"
+LIBS="-levent-2.1 $LIBS"
 if test $ac_cv_libevent_dir != "(system)"; then
   if test -d "$ac_cv_libevent_dir/lib" ; then
     LDFLAGS="-L$ac_cv_libevent_dir/lib $LDFLAGS"