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
8e579752
Commit
8e579752
authored
Nov 19, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up rpath handling for HPUX --- we can't use the cc-style rpath
switch syntax when calling ld directly.
parent
466fb067
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
src/Makefile.shlib
src/Makefile.shlib
+9
-3
src/makefiles/Makefile.hpux
src/makefiles/Makefile.hpux
+2
-2
No files found.
src/Makefile.shlib
View file @
8e579752
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.8
8 2004/11/17 17:08:15
tgl Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.8
9 2004/11/19 21:27:42
tgl Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -154,9 +154,15 @@ ifeq ($(PORTNAME), hpux)
SHLIB_LINK
+=
`
$(CC)
$(LDFLAGS)
-print-libgcc-file-name
`
endif
ifeq
($(with_gnu_ld), yes)
LINK.shared
=
$(CC)
$(LDFLAGS)
-shared
-Wl
,-h
-Wl
,
$(soname)
-Wl
,+b
-Wl
,
$(libdir)
LINK.shared
=
$(CC)
$(LDFLAGS)
-shared
-Wl
,-h
-Wl
,
$(soname)
else
LINK.shared
=
$(LD)
+h
$(soname)
-b
+b
$(libdir)
# can't use the CC-syntax rpath pattern here
rpath
=
ifeq
($(enable_rpath), yes)
LINK.shared
=
$(LD)
+h
$(soname)
-b
+b
$(rpathdir)
else
LINK.shared
=
$(LD)
+h
$(soname)
-b
endif
endif
endif
...
...
src/makefiles/Makefile.hpux
View file @
8e579752
...
...
@@ -19,9 +19,9 @@ LIBS := -lxnet $(LIBS)
# Set up rpath so that the executables don't need SHLIB_PATH to be set.
# (Note: --disable-rpath is a really bad idea on this platform...)
ifeq
($(with_gnu_ld), yes)
rpath
=
-Wl
,-rpath,
$(rpathdir)
rpath
=
-Wl
,-rpath
-Wl
,
$(rpathdir)
else
rpath
=
-Wl
,+b,
$(rpathdir)
rpath
=
-Wl
,+b
-Wl
,
$(rpathdir)
endif
# catch null pointer dereferences
...
...
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