Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb85f1b

Browse files
committed
Suppress duplicate rules for lib$(NAME).a on WIN32 and Cygwin.
Andrew Dunstan
1 parent6beb6fa commitbb85f1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/Makefile.shlib

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.86 2004/10/1603:26:43 momjian Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.87 2004/11/1621:51:13 tgl Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -220,10 +220,12 @@ ifeq ($(PORTNAME), cygwin)
220220
shlib= $(NAME)$(DLSUFFIX)
221221
# needed for /contrib modules, not sure why
222222
SHLIB_LINK+= -lpgport
223+
haslibarule = yes
223224
endif
224225

225226
ifeq ($(PORTNAME), win32)
226227
shlib= lib$(NAME)$(DLSUFFIX)
228+
haslibarule = yes
227229
endif
228230

229231
ifeq ($(PORTNAME), beos)
@@ -257,13 +259,15 @@ ifndef LORDER
257259
MK_NO_LORDER := true
258260
endif
259261

262+
ifndef haslibarule
260263
lib$(NAME).a: $(OBJS)
261264
ifdef MK_NO_LORDER
262265
$(LINK.static) $@ $^
263266
else
264267
$(LINK.static) $@ `$(LORDER) $^ | tsort`
265268
endif
266269
$(RANLIB) $@
270+
endif #haslibarule
267271

268272
ifeq ($(enable_shared), yes)
269273

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp