Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
46be09e9
Commit
46be09e9
authored
20 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Revert ill-conceived change of libpq linkage --- breaks ecpg.
parent
0dca4fcb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.global.in
+2
-12
2 additions, 12 deletions
src/Makefile.global.in
with
2 additions
and
12 deletions
src/Makefile.global.in
+
2
−
12
View file @
46be09e9
# -*-makefile-*-
# -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.21
0
2005/03/24
19:33:32 momjian
Exp $
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.21
1
2005/03/24
23:53:48 tgl
Exp $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
# All PostgreSQL makefiles include this file and use the variables it sets,
...
@@ -306,17 +306,7 @@ libpq_srcdir = $(top_srcdir)/src/interfaces/libpq
...
@@ -306,17 +306,7 @@ libpq_srcdir = $(top_srcdir)/src/interfaces/libpq
libpq_builddir
=
$(
top_builddir
)
/src/interfaces/libpq
libpq_builddir
=
$(
top_builddir
)
/src/interfaces/libpq
endif
endif
# Force clients to pull symbols from the non-shared library libpgport
libpq
=
-L
$(
libpq_builddir
)
-lpq
# rather than pulling some libpgport symbols from libpq just because
# libpq uses those functions too. This makes applications less
# dependent on changes in libpq's usage of pgport. To do this we link to
# pgport before libpq. This does cause duplicate -lpgport's to appear
# on client link lines.
ifdef
PGXS
libpq
=
-L
$(
libdir
)
-lpgport
-L
$(
libpq_builddir
)
-lpq
else
libpq
=
-L
$(
top_builddir
)
/src/port
-lpgport
-L
$(
libpq_builddir
)
-lpq
endif
# If doing static linking, shared library dependency can't be
# If doing static linking, shared library dependency can't be
# used so we specify pthread libs for every usage of libpq
# used so we specify pthread libs for every usage of libpq
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment