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
e3909672
Commit
e3909672
authored
26 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Build pltcl.so correctly on platforms that want dependent
shared libraries to be listed in the link command.
parent
3a52e3f3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pl/tcl/Makefile
+17
-6
17 additions, 6 deletions
src/pl/tcl/Makefile
with
17 additions
and
6 deletions
src/pl/tcl/Makefile
+
17
−
6
View file @
e3909672
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# Makefile for the pltcl shared object
# Makefile for the pltcl shared object
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.
9
1998/1
0
/1
8 19:41:00
tgl Exp $
# $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.
10
1998/1
2
/1
3 23:46:49
tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -38,14 +38,25 @@ endif
...
@@ -38,14 +38,25 @@ endif
endif
endif
# Change following to how shared library that contain
# Change following to how shared library that contain
s
#
correct
references to libtcl must get built on your system.
# references to libtcl must get built on your system.
# Since these definitions come from the tclConfig.sh script,
# Since these definitions come from the tclConfig.sh script,
# they should work if the shared build of tcl was successful
# they should work if the shared build of tcl was successful
# on this system.
# on this system. However, tclConfig.sh lies to us a little bit
#
# (at least in versions 7.6 through 8.0.4) --- it doesn't mention -lc
# in TCL_LIBS, but you still need it on systems that want to hear about
# dependent libraries...
ifneq
($(TCL_SHLIB_LD_LIBS),)
# link command for a shared lib must mention shared libs it uses
SHLIB_EXTRA_LIBS
=
$(
TCL_LIBS
)
-lc
else
# link command for a shared lib must NOT mention shared libs it uses
SHLIB_EXTRA_LIBS
=
endif
%$(TCL_SHLIB_SUFFIX)
:
%.o
%$(TCL_SHLIB_SUFFIX)
:
%.o
$(
TCL_SHLIB_LD
)
-o
$@
$<
$(
TCL_
SH
LIB_
LD_LIBS
)
$(
TCL_LIB_SPEC
)
$(
TCL
_LIBS
)
$(
TCL_SHLIB_LD
)
-o
$@
$<
$(
TCL_LIB_
SPEC
)
$(
SHLIB_EXTRA
_LIBS
)
#
#
...
...
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