summaryrefslogtreecommitdiff
path: root/ext/informix/Makefile.frag
diff options
context:
space:
mode:
Diffstat (limited to 'ext/informix/Makefile.frag')
-rw-r--r--ext/informix/Makefile.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/informix/Makefile.frag b/ext/informix/Makefile.frag
index 815a9e2c3c..e95934fc3f 100644
--- a/ext/informix/Makefile.frag
+++ b/ext/informix/Makefile.frag
@@ -1,5 +1,5 @@
-$(builddir)/ifx.c: $(srcdir)/ifx.ec $(builddir)/libphpifx.a
+$(srcdir)/ifx.c: $(srcdir)/ifx.ec $(builddir)/libphpifx.a
(if test -d $(INFORMIXDIR); then \
THREADLIB=POSIX $(INFORMIXDIR)/bin/esql -e $(IFX_ESQL_FLAGS) $(srcdir)/ifx.ec; mv ifx.c $@; \
else \
@@ -7,4 +7,4 @@ $(builddir)/ifx.c: $(srcdir)/ifx.ec $(builddir)/libphpifx.a
fi)
$(builddir)/libphpifx.a:
- $(LINK) $(IFX_LIBOBJS)
+ $(LIBTOOL) --mode=link $(CC) $(IFX_LIBOBJS) -o $@