File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
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.54 2001/09/22 22:54:32 petere Exp $
9
+ # $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.55 2001/10/05 21:15:38 petere Exp $
10
10
#
11
11
#-------------------------------------------------------------------------
12
12
@@ -113,7 +113,7 @@ endif
113
113
114
114
ifeq ($(PORTNAME), darwin)
115
115
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
116
- LINK.shared = $(COMPILER) $(CFLAGS_SL)
116
+ LINK.shared = $(COMPILER) $(DARWIN_NAMESPACE_SPEC) -bundle -undefined suppress
117
117
endif
118
118
119
119
ifeq ($(PORTNAME), openbsd)
Original file line number Diff line number Diff line change @@ -2,9 +2,12 @@ AROPT = cr
2
2
AWK= awk
3
3
4
4
DLSUFFIX = .so
5
- CFLAGS_SL = -bundle -undefined suppress
5
+ CFLAGS_SL =
6
+ ifeq (,$(filter $(host_os), darwin1.0 darwin1.1 darwin1.2))
7
+ DARWIN_NAMESPACE_SPEC = -flat_namespace
8
+ endif
6
9
7
10
%.so: %.o
8
- $(CC) $(CFLAGS) $(CFLAGS_SL) -o $@ $<
11
+ $(CC) $(DARWIN_NAMESPACE_SPEC) -bundle -undefined suppress -o $@ $<
9
12
10
13
sqlmansect = 7
You can’t perform that action at this time.
0 commit comments