summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-09 09:28:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-04-09 09:28:35 (GMT)
commit4c6f36571342ed68e0b7930dc209fb3e5972bf51 (patch)
tree5e22223c1cb132bbba688f9d486115cc0e2b4ac8
parentf33cb0791e5590b9aaf653e3df88c08a47a24c7a (diff)
parentd7ee142e48003c330b9bf21eed8549ffeae6ad1d (diff)
downloadtk-4c6f36571342ed68e0b7930dc209fb3e5972bf51.zip
tk-4c6f36571342ed68e0b7930dc209fb3e5972bf51.tar.gz
tk-4c6f36571342ed68e0b7930dc209fb3e5972bf51.tar.bz2
Provide full Tk patchlevel to tk.pc and move private libs to "Libs.private".
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/tk.pc.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tk.pc.in b/unix/tk.pc.in
index d3f590f..68f2130 100644
--- a/unix/tk.pc.in
+++ b/unix/tk.pc.in
@@ -8,7 +8,8 @@ includedir=@includedir@
Name: The Tk Toolkit
Description: Tk is a cross-platform graphical user interface toolkit, the standard GUI not only for Tcl, but for many other dynamic languages as well.
URL: http://www.tcl.tk/
-Version: @TK_VERSION@
-Requires: tcl
-Libs: -L${libdir} @TK_LIB_FLAG@ @XFT_LIBS@ @XLIBSW@
+Version: @TK_VERSION@@TK_PATCH_LEVEL@
+Requires: tcl >= 8.6
+Libs: -L${libdir} @TK_LIB_FLAG@ @TK_STUB_LIB_FLAG@
+Libs.private: @XFT_LIBS@ @XLIBSW@
Cflags: -I${includedir}