mirror of
https://github.com/postgres/postgres.git
synced 2025-05-17 06:41:24 +03: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
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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
|
else # PORTNAME == cygwin
|
||||||
|
|
||||||
# Cygwin case
|
# Cygwin case
|
||||||
$(shlib) lib$(NAME).a: $(OBJS) $(DLLINIT)
|
$(shlib) lib$(NAME).a: $(OBJS)
|
||||||
$(DLLTOOL) --export-all $(DLLTOOL_DEFFLAGS) --output-def $(NAME).def $(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
|
$(DLLTOOL) --dllname $(shlib) $(DLLTOOL_LIBFLAGS) --def $(NAME).def --output-lib lib$(NAME).a
|
||||||
|
|
||||||
$(DLLINIT): $(DLLINIT:%.o=%.c)
|
|
||||||
$(MAKE) -C $(@D) $(@F)
|
|
||||||
|
|
||||||
endif # PORTNAME == cygwin
|
endif # PORTNAME == cygwin
|
||||||
|
|
||||||
else # PORTNAME == win32
|
else # PORTNAME == win32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user