File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 6
6
# Copyright (c) 1998, Regents of the University of California
7
7
#
8
8
# 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 $
10
10
#
11
11
#-------------------------------------------------------------------------
12
12
@@ -184,7 +184,19 @@ endif
184
184
185
185
ifeq ($(PORTNAME), unixware)
186
186
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
188
200
endif
189
201
190
202
ifeq ($(PORTNAME), win)
You can’t perform that action at this time.
0 commit comments