summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-08 15:02:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-08 15:02:27 (GMT)
commitc46faeda6e6c7c35ff2ec921585fe63ea854f432 (patch)
treea22b5325bf61fe8176d9f3cb1daca7dae0d20214
parent6ccac8d99a336cac2a430cf97f6f77ac66edb7c1 (diff)
parent7e0a9605b9a1e3bc52ff27cdbc7311608f4cce18 (diff)
downloadtcl-c46faeda6e6c7c35ff2ec921585fe63ea854f432.zip
tcl-c46faeda6e6c7c35ff2ec921585fe63ea854f432.tar.gz
tcl-c46faeda6e6c7c35ff2ec921585fe63ea854f432.tar.bz2
Provide full Tcl patchlevel to tcl.pc and move private libs to "Libs.private".
Record the fact that Tcl 8.6 requires Zlib 1.2.3 as a minimum. Supply both the shared library and the stub library to "Libs": Only one of them will actually be linked in, depending on whether -DUSE_TCL_STUBS is defined or not.
-rw-r--r--unix/tcl.pc.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tcl.pc.in b/unix/tcl.pc.in
index 6b6fe44..846cb11 100644
--- a/unix/tcl.pc.in
+++ b/unix/tcl.pc.in
@@ -8,8 +8,8 @@ includedir=@includedir@
Name: Tool Command Language
Description: Tcl is a powerful, easy-to-learn dynamic programming language, suitable for a wide range of uses.
URL: http://www.tcl.tk/
-Version: @TCL_VERSION@
-Requires:
-Conflicts:
-Libs: -L${libdir} @TCL_LIB_FLAG@ @TCL_LIBS@
+Version: @TCL_VERSION@@TCL_PATCH_LEVEL@
+Requires.private: zlib >= 1.2.3
+Libs: -L${libdir} @TCL_LIB_FLAG@ @TCL_STUB_LIB_FLAG@
+Libs.private: @TCL_LIBS@
Cflags: -I${includedir}