Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e8f38f4
)
THRIFT-350. php: Fix the extension build when C++ is not already used
author
David Reiss
<dreiss@apache.org>
Mon, 13 Jul 2009 17:21:03 +0000
(17:21 +0000)
committer
David Reiss
<dreiss@apache.org>
Mon, 13 Jul 2009 17:21:03 +0000
(17:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@793630
13f79535
-47bb-0310-9956-
ffa450edef68
lib/php/src/ext/thrift_protocol/config.m4
patch
|
blob
|
history
diff --git
a/lib/php/src/ext/thrift_protocol/config.m4
b/lib/php/src/ext/thrift_protocol/config.m4
index
8cfb37d
..
2c338a0
100644
(file)
--- a/
lib/php/src/ext/thrift_protocol/config.m4
+++ b/
lib/php/src/ext/thrift_protocol/config.m4
@@
-8,6
+8,8
@@
PHP_ARG_ENABLE(thrift_protocol, whether to enable the thrift_protocol extension,
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