commit | 70c89d4ae002b324c891be30f625365d09420c27 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Mon Jul 13 17:21:03 2009 +0000 |
committer | David Reiss <dreiss@apache.org> | Mon Jul 13 17:21:03 2009 +0000 |
tree | d7e91be20e5046e95ae1903f3e32d2a208d52865 | |
parent | e8f38f47c8bfdb8738e016222c45a1cb08335299 [diff] |
THRIFT-350. php: Fix the extension build when C++ is not already used git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@793630 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/ext/thrift_protocol/config.m4 b/lib/php/src/ext/thrift_protocol/config.m4 index 8cfb37d..2c338a0 100644 --- a/lib/php/src/ext/thrift_protocol/config.m4 +++ b/lib/php/src/ext/thrift_protocol/config.m4
@@ -8,6 +8,8 @@ if test "$PHP_THRIFT_PROTOCOL" != "no"; then PHP_REQUIRE_CXX() + PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", THRIFT_PROTOCOL_SHARED_LIBADD) + PHP_SUBST(THRIFT_PROTOCOL_SHARED_LIBADD) PHP_NEW_EXTENSION(thrift_protocol, php_thrift_protocol.cpp, $ext_shared) fi