mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Update Cygwin build to not use DLLINIT, per Cygwin report from Reini
Urban
This commit is contained in:
parent
0fd37839d9
commit
bac78bbac6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user