Make sure that gearman, is libtool'ized correctly.
authorBrian Aker <brian@tangent.org>
Mon, 28 May 2012 03:09:14 +0000 (23:09 -0400)
committerBrian Aker <brian@tangent.org>
Mon, 28 May 2012 03:09:14 +0000 (23:09 -0400)
libtest/has.cc

index 52e1d405b26f90a91e6f70c711c61332ba34dea0..10e61cb60d1137d53445dc1eb19e6e0059392570 100644 (file)
@@ -82,7 +82,7 @@ bool has_gearmand()
   {
     std::stringstream arg_buffer;
 
-    if (getenv("PWD"))
+    if (getenv("PWD") and strcmp(MEMCACHED_BINARY, "gearmand/gearmand") == 0)
     {
       arg_buffer << getenv("PWD");
       arg_buffer << "/";