6
6
# Copyright (c) 1998, Regents of the University of California
7
7
#
8
8
# IDENTIFICATION
9
- # $PostgreSQL: pgsql/src/Makefile.shlib,v 1.106 2007/01/07 08:49:31 petere Exp $
9
+ # $PostgreSQL: pgsql/src/Makefile.shlib,v 1.107 2007/02/09 15:55:57 petere Exp $
10
10
#
11
11
#-------------------------------------------------------------------------
12
12
@@ -77,7 +77,7 @@ ifeq ($(enable_shared), yes)
77
77
SHLIB_LINK := $(filter -L%, $(SHLIB_LINK)) $(filter -L%, $(LDFLAGS)) $(filter-out -L%, $(SHLIB_LINK))
78
78
79
79
# Need a -L-free version of LDFLAGS to use in combination with SHLIB_LINK
80
- LDFLAGS_NO_L : = $(filter-out -L%, $(LDFLAGS))
80
+ LDFLAGS_NO_L = $(filter-out -L%, $(LDFLAGS))
81
81
82
82
# Default shlib naming convention used by the majority of platforms
83
83
shlib = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
@@ -102,15 +102,15 @@ endif
102
102
103
103
ifeq ($(PORTNAME), darwin)
104
104
ifneq ($(SO_MAJOR_VERSION), 0)
105
- version_link : = -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
105
+ version_link = -compatibility_version $(SO_MAJOR_VERSION) -current_version $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
106
106
endif
107
107
ifeq ($(DLTYPE), library)
108
108
# linkable library
109
- DLSUFFIX : = .dylib
109
+ DLSUFFIX = .dylib
110
110
LINK.shared = $(COMPILER) -dynamiclib -install_name $(libdir)/lib$(NAME).$(SO_MAJOR_VERSION)$(DLSUFFIX) $(version_link) $(exported_symbols_list) -multiply_defined suppress
111
111
else
112
112
# loadable module (default case)
113
- DLSUFFIX : = .so
113
+ DLSUFFIX = .so
114
114
LINK.shared = $(COMPILER) -bundle -multiply_defined suppress
115
115
endif
116
116
shlib = lib$(NAME).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)$(DLSUFFIX)
@@ -171,7 +171,7 @@ ifeq ($(PORTNAME), hpux)
171
171
# ld can find the same libraries gcc does. Make sure it goes after any
172
172
# -L switches provided explicitly.
173
173
ifeq ($(GCC), yes)
174
- SHLIB_LINK : = $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK))
174
+ SHLIB_LINK = $(filter -L%, $(SHLIB_LINK)) -L/usr/local/lib $(filter-out -L%, $(SHLIB_LINK))
175
175
endif
176
176
endif
177
177
# do this last so above filtering doesn't pull out -L switches in LDFLAGS
0 commit comments