Bug #66592 [Fbk->NoF]: relative paths in PHP_NEW_EXTENSION sources
Edit report at https://bugs.php.net/bug.php?id=66592&edit=1
ID: 66592
Updated by: php-bugs@lists.php.net
Reported by: investfund2007 at yandex dot ru
Summary: relative paths in PHP_NEW_EXTENSION sources
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: *Compile Issues
Operating System: MacOsX 10.9.1
PHP Version: 5.3.28
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-06-10 16:42:00] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2014-01-28 13:29:04] investfund2007 at yandex dot ru
Added version of php
------------------------------------------------------------------------
[2014-01-28 09:15:22] investfund2007 at yandex dot ru
Description:
------------
I'm developing php extension and I need to include some cpp sources outside php dir.
...
PHP_NEW_EXTENSION(module,file1.cpp ../../../Common/file2.cpp ../../../Common/file3.cpp, $ext_shared)
...
After running ./configure Makefile contains
...
shared_objects_module = file1.lo .lo .lo
...
I think the bug is somewhere inside acinclude.m4 in function PHP_ADD_SOURCES_X
Test script:
---------------
PHP_ARG_ENABLE(test, test,
[ --enable-test ])
if test "$PHP_TEST" != "no"; then
PHP_NEW_EXTENSION(test, file1.cpp ../../../Common/file2.cpp ../../../Common/file3.cpp,
$ext_shared)
AC_DEFINE(HAVE_TEST, 1, [Whether you have test])
fi
Expected result:
----------------
Makefile contains
...
shared_objects_module = file1.lo ../../../Common/file2.lo ../../../Common/file3.lo
...
Actual result:
--------------
shared_objects_module = file1.lo .lo .lo
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66592&edit=1
Thread (4 messages)