[Groonga-commit] groonga/groonga [master] add missing -levent.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 1月 12日 (木) 10:03:22 JST


Kouhei Sutou	2012-01-12 10:03:22 +0900 (Thu, 12 Jan 2012)

  New Revision: ff9b7d205354a0931e61eabea6259fe9fc0b2549

  Log:
    add missing -levent.

  Modified files:
    configure.ac

  Modified: configure.ac (+2 -2)
===================================================================
--- configure.ac    2012-01-11 18:39:49 +0900 (4f5b2c7)
+++ configure.ac    2012-01-12 10:03:22 +0900 (5860bdc)
@@ -859,7 +859,7 @@ fi
 if test "x$with_libevent" != "xno"; then
   if test "x$with_libevent" = "xyes" -o "x$with_libevent" = "xauto"; then
     libevent_cflags=""
-    libevent_ldlags=""
+    libevent_ldlags="-levent"
   else
     libevent_include_dir="$with_libevent/include"
     libevent_lib_dir="$with_libevent/lib"
@@ -867,7 +867,7 @@ if test "x$with_libevent" != "xno"; then
       AC_MSG_ERROR("No libevent found in $with_libevent.")
     fi
     libevent_cflags="-I$libevent_include_dir"
-    libevent_ldlags="-L$libevent_lib_dir"
+    libevent_ldlags="-L$libevent_lib_dir -levent"
   fi
 
   _SAVE_CFLAGS="$CFLAGS"




Groonga-commit メーリングリストの案内
Back to archive index