summaryrefslogtreecommitdiffstats
path: root/unix/tk.pc.in
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)
commit32a49a98b2af3d43ebd675f79e5ec163c4418cab (patch)
tree5e22223c1cb132bbba688f9d486115cc0e2b4ac8 /unix/tk.pc.in
parent514b26e27ddb212dd221f960ad4c3be5771057ec (diff)
parenta423374a2b4885c1f7d60be559ea562e7909f0cc (diff)
downloadtk-32a49a98b2af3d43ebd675f79e5ec163c4418cab.zip
tk-32a49a98b2af3d43ebd675f79e5ec163c4418cab.tar.gz
tk-32a49a98b2af3d43ebd675f79e5ec163c4418cab.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.
Diffstat (limited to 'unix/tk.pc.in')
-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}