From 0cf082db67f2a5e46ec672fa3c3a3f6c4497297f Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 28 Jun 2005 21:47:30 +0000 Subject: [PATCH] - Fixed bug #33469 also for shared builds --- ext/informix/Makefile.frag | 2 -- ext/informix/config.m4 | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ext/informix/Makefile.frag b/ext/informix/Makefile.frag index 0dadff0a00..be573572bc 100644 --- a/ext/informix/Makefile.frag +++ b/ext/informix/Makefile.frag @@ -1,8 +1,6 @@ OVERALL_TARGET += $(srcdir)/ifx.c -CC=$(IFX_CC) - $(srcdir)/ifx.c: $(srcdir)/ifx.ec (if test -d $(INFORMIXDIR); then \ THREADLIB=POSIX $(INFORMIXDIR)/bin/esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; mv ifx.c $@; \ diff --git a/ext/informix/config.m4 b/ext/informix/config.m4 index 69319b1f21..0dddc6d64e 100644 --- a/ext/informix/config.m4 +++ b/ext/informix/config.m4 @@ -60,6 +60,9 @@ if test "$PHP_INFORMIX" != "no"; then for i in $IFX_LIBS; do case "$i" in + *.o) + DLIBS="$DLIBS $i" + ;; -lm) ;; -lc) @@ -89,10 +92,6 @@ if test "$PHP_INFORMIX" != "no"; then AC_DEFINE(HAVE_IFX,1,[ ]) if test "$ext_shared" = "yes"; then - IFX_CC=$CC with_tags= - else - IFX_CC='$(INFORMIXDIR)/bin/esql' fi - PHP_SUBST(IFX_CC) fi -- 2.40.0