diff --git a/config.m4 b/config.m4 index 2dbfbff9..fcbc2aa6 100644 --- a/config.m4 +++ b/config.m4 @@ -11,7 +11,6 @@ if test "$PHP_PINPOINT_PHP" != "no"; then PHP_REQUIRE_CXX() PHP_SUBST(PINPOINT_PHP_SHARED_LIBADD) - PHP_ADD_LIBRARY(stdc++, 1, PINPOINT_PHP_SHARED_LIBADD) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/include) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/jsoncpp/include) PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/jsoncpp/include) @@ -48,6 +47,6 @@ if test "$PHP_PINPOINT_PHP" != "no"; then PINPOINT_PHP_SHARED_LIBADD="$PINPOINT_PHP_SHARED_LIBADD -lrt" - PHP_NEW_EXTENSION(pinpoint_php,$PINPOINT_SRCS, $ext_shared) + PHP_NEW_EXTENSION(pinpoint_php,$PINPOINT_SRCS, $ext_shared,,, cxx) PHP_ADD_BUILD_DIR($ext_builddir/src/PHP) -fi \ No newline at end of file +fi