Skip to content

Commit

Permalink
this is a c++ ext, use proper linker command (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet authored Aug 20, 2024
1 parent 8aeb181 commit 2c7b7a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ if test "$PHP_PHPY" != "no"; then
fi

PHP_REQUIRE_CXX()
PHP_ADD_LIBRARY(stdc++, 1, PHPY_SHARED_LIBADD)

PHP_SUBST(PHPY_SHARED_LIBADD)

Expand All @@ -69,7 +68,7 @@ if test "$PHP_PHPY" != "no"; then
phpy_source_files=$(cd $phpy_source_dir && find src -type f -name "*.cc")
phpy_source_files="phpy.cc $phpy_source_files"

PHP_NEW_EXTENSION(phpy, $phpy_source_files , $ext_shared)
PHP_NEW_EXTENSION(phpy, $phpy_source_files , $ext_shared,,, cxx)

AC_MSG_RESULT([$ext_builddir])

Expand Down

0 comments on commit 2c7b7a9

Please sign in to comment.