|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-20 22:44 UTC] yiwakiri at st dot rim dot or dot jp
[2003-08-20 22:57 UTC] sniper@php.net
[2003-08-20 23:35 UTC] yiwakiri at st dot rim dot or dot jp
[2003-08-21 00:52 UTC] moriyoshi@php.net
[2003-08-21 02:30 UTC] yiwakiri at st dot rim dot or dot jp
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 21:00:01 2025 UTC |
Description: ------------ When creating the extension module of C / C++ mixture, It seems that scan_makefile_in.awk which is not correctly changed into PHP_NEW_EXTENSION macro from PHP_EXTENSION macro e.g. Makefile.in is LTLIBRARY_SOURCES = example1.c LTLIBRARY_SOURCES_CPP = example2.cxx Makefile -- snip -- .NOEXPORT: example2.lo: /home/iwakiri/swig/class/example2.cxx $(phplibdir)/example.la: ./example.la $(LIBTOOL) --mode=install cp ./example.la $(phplibdir) The first line's makerule is lost. Please change as follows: --- php-4.3.2/scan_makefile_in.awk Thu Mar 7 23:17:47 2002 +++ scan_makefile_in.awk Thu Aug 21 10:48:57 2003 @@ -5,7 +5,7 @@ mode == 0 && /^LTLIBRARY_SOURCES.*\\$/ { if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH-1) + sources=sources substr($0, RSTART, RLENGTH-1) } mode=1 next @@ -13,7 +13,7 @@ mode == 0 && /^LTLIBRARY_SOURCES.*/ { if (match($0, "[^=]*$")) { - sources=substr($0, RSTART, RLENGTH) + sources=sources substr($0, RSTART, RLENGTH) } }