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

Commit26d008c

Browse files
committed
Use compiler driver, not linker, to link shared libraries on Unixware.
1 parent7e77668 commit26d008c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

‎src/Makefile.shlib

Lines changed: 14 additions & 2 deletions
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-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.28 2000/10/25 16:13:52 petere Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.29 2000/10/27 20:09:48 petere Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -184,7 +184,19 @@ endif
184184

185185
ifeq ($(PORTNAME), unixware)
186186
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
187-
LINK.shared= $(LD) -G -z text
187+
ifndef cplusplus
188+
ifeq ($(GCC), yes)
189+
LINK.shared= $(CC) -shared
190+
else
191+
LINK.shared= $(CC) -G
192+
endif
193+
else
194+
ifeq ($(GXX), yes)
195+
LINK.shared= $(CXX) -shared
196+
else
197+
LINK.shared= $(CXX) -G
198+
endif
199+
endif
188200
endif
189201

190202
ifeq ($(PORTNAME), win)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp