Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
00ab7b58
Commit
00ab7b58
authored
Feb 10, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -Bsymbolic for FreeBSD and OpenBSD. NetBSD already had all these fixes.
parent
8213e63d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
src/Makefile.shlib
src/Makefile.shlib
+7
-5
src/makefiles/Makefile.freebsd
src/makefiles/Makefile.freebsd
+1
-1
src/makefiles/Makefile.openbsd
src/makefiles/Makefile.openbsd
+1
-1
No files found.
src/Makefile.shlib
View file @
00ab7b58
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.4
1 2001/02/10 16:51:39 petere
Exp $
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.4
2 2001/02/10 17:17:39 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -112,7 +112,8 @@ endif
ifeq
($(PORTNAME), openbsd)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
ifdef
ELF_SYSTEM
LINK.shared
=
$(LD)
-x
-Bshareable
-soname
$(soname)
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-x,-soname,
$(soname)
SHLIB_LINK
+=
-lc
else
LINK.shared
=
$(LD)
-x
-Bshareable
-Bforcearchive
endif
...
...
@@ -121,7 +122,7 @@ endif
ifeq
($(PORTNAME), bsdi)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
ifeq
($(DLSUFFIX), .so)
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-soname,
$(soname)
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-
x,-
soname,
$(soname)
SHLIB_LINK
+=
-lc
endif
ifeq
($(DLSUFFIX), .o)
...
...
@@ -132,7 +133,8 @@ endif
ifeq
($(PORTNAME), freebsd)
ifdef
ELF_SYSTEM
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
LINK.shared
=
$(LD)
-x
-shared
-soname
$(soname)
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-x,-soname,
$(soname)
SHLIB_LINK
+=
-lc
else
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
LINK.shared
=
$(LD)
-x
-Bshareable
-Bforcearchive
...
...
@@ -142,7 +144,7 @@ endif
ifeq
($(PORTNAME), netbsd)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
ifdef
ELF_SYSTEM
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-soname,
$(soname)
LINK.shared
=
$(COMPILER)
-shared
-Wl
,-
x,-
soname,
$(soname)
else
LINK.shared
=
$(LD)
-x
-Bshareable
-Bforcearchive
endif
...
...
src/makefiles/Makefile.freebsd
View file @
00ab7b58
...
...
@@ -3,7 +3,7 @@ AROPT = cr
ifdef
ELF_SYSTEM
export_dynamic
=
-export-dynamic
rpath
=
-R
$(libdir)
shlib_symbolic
=
-Bsymbolic
shlib_symbolic
=
-
Wl
,-
Bsymbolic
endif
DLSUFFIX
=
.so
...
...
src/makefiles/Makefile.openbsd
View file @
00ab7b58
...
...
@@ -3,7 +3,7 @@ AROPT = cr
ifdef
ELF_SYSTEM
export_dynamic
=
-Wl
,-E
rpath
=
-R
$(libdir)
shlib_symbolic
=
-Bsymbolic
shlib_symbolic
=
-
Wl
,-
Bsymbolic
endif
DLSUFFIX
=
.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment