Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

make use of $PHP_LIBDIR

  • Loading branch information...
commit 5ef7ce2065c7c8aee1f9da043c198b8a88ca5ddb 1 parent b938843
Antony Dovgal authored October 13, 2009

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  config.m4
6  config.m4
@@ -72,9 +72,13 @@ if test "$PHP_PINBA" != "no"; then
72 72
     PHP_ADD_LIBRARY([$THREAD_LIB])
73 73
   fi
74 74
 
  75
+  if test "x$PHP_LIBDIR" = "x"; then
  76
+    PHP_LIBDIR=lib
  77
+  fi
  78
+
75 79
   PHP_REQUIRE_CXX
76 80
   PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", PINBA_SHARED_LIBADD)
77  
-  PHP_ADD_LIBRARY_WITH_PATH(protobuf, $PROTOBUF_DIR/lib, PINBA_SHARED_LIBADD)
  81
+  PHP_ADD_LIBRARY_WITH_PATH(protobuf, $PROTOBUF_DIR/$PHP_LIBDIR, PINBA_SHARED_LIBADD)
78 82
   PHP_SUBST(PINBA_SHARED_LIBADD)
79 83
   PHP_NEW_EXTENSION(pinba, pinba.cc pinba-pb.cc, $ext_shared,, -DNDEBUG)
80 84
 

0 notes on commit 5ef7ce2

Please sign in to comment.
Something went wrong with that request. Please try again.