From bac78bbac67a3b59f8cc56ecea82976038950cf1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Tue, 12 Oct 2004 22:20:17 +0000 Subject: [PATCH] Update Cygwin build to not use DLLINIT, per Cygwin report from Reini Urban --- src/Makefile.shlib | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 1009b27d081..973cc68a36d 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.81 2004/10/12 04:48:34 neilc Exp $ +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.82 2004/10/12 22:20:17 momjian Exp $ # #------------------------------------------------------------------------- @@ -309,14 +309,11 @@ endif # PORTNAME == beos else # PORTNAME == cygwin # Cygwin case -$(shlib) lib$(NAME).a: $(OBJS) $(DLLINIT) +$(shlib) lib$(NAME).a: $(OBJS) $(DLLTOOL) --export-all $(DLLTOOL_DEFFLAGS) --output-def $(NAME).def $(OBJS) - $(DLLWRAP) -o $(shlib) --dllname $(shlib) $(DLLWRAP_FLAGS) --def $(NAME).def $(OBJS) $(DLLINIT) $(SHLIB_LINK) + $(DLLWRAP) -o $(shlib) --dllname $(shlib) $(DLLWRAP_FLAGS) --def $(NAME).def $(OBJS) $(SHLIB_LINK) $(DLLTOOL) --dllname $(shlib) $(DLLTOOL_LIBFLAGS) --def $(NAME).def --output-lib lib$(NAME).a -$(DLLINIT): $(DLLINIT:%.o=%.c) - $(MAKE) -C $(@D) $(@F) - endif # PORTNAME == cygwin else # PORTNAME == win32 -- GitLab