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
d0c01f29
Commit
d0c01f29
authored
20 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Allow --enable-thread-safety with --disable-shared libraries by passing
PTHREAD_LIBS to all libpq-usage builds.
parent
b5498167
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.global.in
+7
-1
7 additions, 1 deletion
src/Makefile.global.in
with
7 additions
and
1 deletion
src/Makefile.global.in
+
7
−
1
View file @
d0c01f29
# -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.20
6
2004/12/16 1
7:48:29
momjian Exp $
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.20
7
2004/12/16 1
8:13:07
momjian Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
...
...
@@ -308,11 +308,17 @@ endif
libpq
=
-L
$(
libpq_builddir
)
-lpq
# If doing static linking, shared library dependency can't be
# used so we specify pthread libs for every usage of libpq
ifeq
($(enable_shared), no)
libpq
+=
$(
PTHREAD_LIBS
)
else
# AIX libraries do not remember their required libs so we have to force
# thread dependent libraires in the link
ifeq
($(PORTNAME), aix)
libpq
+=
$(
PTHREAD_LIBS
)
endif
endif
submake-libpq
:
$(
MAKE
)
-C
$(
libpq_builddir
)
all
...
...
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