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
0016911b
Commit
0016911b
authored
Jul 13, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unwanted side-effects of recent SHLIB_LINK -L patch on existing
hacking of SHLIB_LINK for HPUX.
parent
505b9252
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
src/Makefile.shlib
src/Makefile.shlib
+9
-6
No files found.
src/Makefile.shlib
View file @
0016911b
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.9
4 2005/07/13 02:11:57 momjian
Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.9
5 2005/07/13 17:00:44 tgl
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -73,6 +73,9 @@ LINK.static = $(AR) $(AROPT)
ifeq
($(enable_shared), yes)
# Insert -L from LDFLAGS after any -L already present in SHLIB_LINK
SHLIB_LINK
:=
$(
filter
-L
%,
$(SHLIB_LINK)
)
$(
filter
-L
%,
$(LDFLAGS)
)
$(
filter-out
-L
%,
$(SHLIB_LINK)
)
# Default shlib naming convention used by the majority of platforms
shlib
=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
.
$(SO_MINOR_VERSION)
shlib_major
=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
...
...
@@ -150,9 +153,6 @@ endif
ifeq
($(PORTNAME), hpux)
shlib
=
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
ifeq
($(GCC), yes)
SHLIB_LINK
+=
`
$(CC)
$(LDFLAGS)
-print-libgcc-file-name
`
endif
ifeq
($(with_gnu_ld), yes)
LINK.shared
=
$(CC)
$(LDFLAGS)
-shared
-Wl
,-h
-Wl
,
$(soname)
else
...
...
@@ -168,9 +168,13 @@ ifeq ($(PORTNAME), hpux)
# ld can find the same libraries gcc does. Make sure it goes after any
# -L switches provided explicitly.
ifeq
($(GCC), yes)
SHLIB_LINK
+=
-L
/usr/local/lib
SHLIB_LINK
:=
$(
filter
-L
%,
$(SHLIB_LINK)
)
-L
/usr/local/lib
$(
filter-out
-L
%,
$(SHLIB_LINK)
)
endif
endif
# do this last so above filtering doesn't pull out -L switches in LDFLAGS
ifeq
($(GCC), yes)
SHLIB_LINK
+=
`
$(CC)
$(LDFLAGS)
-print-libgcc-file-name
`
endif
endif
ifeq
($(PORTNAME), irix)
...
...
@@ -247,7 +251,6 @@ ifeq ($(PORTNAME), beos)
SHLIB_LINK
+=
-ltermcap
-lstdc
++.r4
-lbind
-lsocket
-L
/boot/develop/lib/x86
endif
SHLIB_LINK
:=
$(
filter
-L
%,
$(SHLIB_LINK)
)
$(
filter
-L
%,
$(LDFLAGS)
)
$(
filter-out
-L
%,
$(SHLIB_LINK)
)
ifeq
($(enable_rpath), yes)
SHLIB_LINK
+=
$(rpath)
endif
...
...
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