php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2244 Missing $(LDFLAGS) in the libphp3.so rule in apMakefile.tmpl
Submitted: 1999-09-06 03:00 UTC Modified: 1999-09-21 04:52 UTC
From: bart at sunsite dot auc dot dk Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: Solaris 2.7
Private report: No CVE-ID: None
 [1999-09-06 03:00 UTC] bart at sunsite dot auc dot dk
When compiling php as a Apache DSO module and using mm-1.0.10 the libphp3.so rule in apMakefile.tmp is broken.

Instead of

$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) \ $(SHLIB_OBJS_LIB) $(LIBS)

it should be

$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(SHLIB_OBJS) \ $(SHLIB_OBJS_LIB) $(LDFLAGS) $(LIBS)

At least this is true for me...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-21 04:52 UTC] sas at cvs dot php dot net
Nope, $(LDFLAGS) applies only to static modules. In DSO mode, Apache uses $(LDFLAGS_SHLIB) exlusively.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 17:01:32 2024 UTC