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
dcbf3977
Commit
dcbf3977
authored
Feb 14, 2014
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In mingw builds, make our own import library for libtcl, too.
Per buildfarm results.
parent
1ea081bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
src/pl/tcl/Makefile
src/pl/tcl/Makefile
+25
-3
No files found.
src/pl/tcl/Makefile
View file @
dcbf3977
...
@@ -29,10 +29,29 @@ endif
...
@@ -29,10 +29,29 @@ endif
endif
endif
SHLIB_LINK
=
$(TCL_LIB_SPEC)
ifneq
($(PORTNAME), win32)
ifneq
($(PORTNAME), win32)
SHLIB_LINK
+=
$(TCL_LIBS)
-lc
endif
SHLIB_LINK
=
$(TCL_LIB_SPEC)
$(TCL_LIBS)
-lc
else
# win32
# Tcl on win32 ships with import libraries only for Microsoft Visual C++,
# which are not compatible with mingw gcc. Therefore we need to build a
# new import library to link with.
tclwithver
=
$(
subst
-l
,,
$(
filter
-l
%,
$(TCL_LIB_SPEC)
))
TCLDLL
=
$(
subst
-L
,,
$(
filter
-L
%,
$(TCL_LIB_SPEC)
))
/
$(tclwithver)
.dll
OBJS
+=
lib
$(tclwithver)
.a
lib$(tclwithver).a
:
$(tclwithver).def
dlltool
--dllname
$(tclwithver)
.dll
--def
$(tclwithver)
.def
--output-lib
lib
$(tclwithver)
.a
$(tclwithver).def
:
$(TCLDLL)
pexports
$^
>
$@
endif
# win32
NAME
=
pltcl
NAME
=
pltcl
...
@@ -96,4 +115,7 @@ endif # TCL_SHARED_BUILD = 0
...
@@ -96,4 +115,7 @@ endif # TCL_SHARED_BUILD = 0
clean distclean maintainer-clean
:
clean-lib
clean distclean maintainer-clean
:
clean-lib
rm
-f
$(OBJS)
rm
-f
$(OBJS)
rm
-rf
$(pg_regress_clean_files)
rm
-rf
$(pg_regress_clean_files)
ifeq
($(PORTNAME), win32)
rm
-f
$(tclwithver)
.def
endif
$(MAKE)
-C
modules
$@
$(MAKE)
-C
modules
$@
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