Skip to content

Commit

Permalink
This is cxx extension
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jul 29, 2024
1 parent 49b9bab commit 27d46dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
fi

0 comments on commit 27d46dc

Please sign in to comment.