|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-05-02 23:46 UTC] edin at krug dot dk
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ During some experiments, where I tweaked the LDFLAGS a bit, I noticed problems with the pecl mcve module 5.2.2, but not 5.2.0, it looked like the LDFLAGS defined were just ignored, and the reason is simple, the following patch fixes it: --- config.m4 2007-03-19 14:10:07.000000000 +0100 +++ config.m4 2007-03-19 14:10:50.000000000 +0100 @@ -166,7 +166,6 @@ LIBM_CFLAGS="$LIBM_CFLAGS -I$krb5headers" fi CFLAGS="$CFLAGS $LIBM_CFLAGS" - LDFLAGS="$CFLAGS $LIBM_LDFLAGS" PHP_NEW_EXTENSION(mcve, mcve.c, $ext_shared) PHP_SUBST(MCVE_SHARED_LIBADD) I can't really understand why you redefine LDFLAGS, since LIBM_LDFLAGS is anyway never defined, and doing it using CFLAGS is incorrect, if you really want to redefine LDFLAGS it should be LDFLAGS="$LDFLAGS $LIBM_LDFLAGS", but since LIBM_LDFLAGS is never defined, I think you can completely omit that part, you probably only really want to intervene on CFLAGS. Best regards, CHTEKK.