You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/07/13 19:21:04 UTC
svn commit: r793630 -
/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4
Author: dreiss
Date: Mon Jul 13 17:21:03 2009
New Revision: 793630
URL: http://svn.apache.org/viewvc?rev=793630&view=rev
Log:
THRIFT-350. php: Fix the extension build when C++ is not already used
Modified:
incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4
Modified: incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4?rev=793630&r1=793629&r2=793630&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4 (original)
+++ incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4 Mon Jul 13 17:21:03 2009
@@ -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