| Ticket UUID: | 5bcb5026ad51abb778ac6bb5b8781e17649ea72 | ||
| Title: | Undefined autotools token @TK_LIBS@ in pkgconfig file | ||
| Type: | Bug | Created on: | 2014-03-31 02:51:33 |
| Submitter: | badshah400 | Assigned to: | jan.nijtmans |
| Subsystem: | 53. Configuration and Build Tools | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2014-04-02 10:11:47 |
| Status: | Closed | Closed by: | badshah400 |
| Resolution: | Fixed | Closed on: | 2014-04-02 10:11:47 |
| Version: | 8.6.1 | ||
| Description: | ||||
The pkgconfig file tk.pc.in shipped with tk sources [1] uses an undefined autotools tag @TK_LIBS@ which leads to the installed pkgconfig file tk.pc having the wrong linker flags:
Libs: -L${libdir} @TK_LIBS@
The correct value for the Libs tag would likely be something like
Libs: -L${libdir} -ltk8.6
This is fixed by the attached patch. This replaces the undefined @TK_LIBS@ by the token @TK_LIB_FLAG@, which generates the .pc file with the correct linker flag upon installation by autotools.
[1] See here: http://core.tcl.tk/tk/artifact/458b229d85be3b3e
| ||||
| User Comments: | ||||
jan.nijtmans added on 2014-04-01 08:44:47:
Fixed in dad7e44466 (core-8-5-branch) and 541c37eaea (trunk) badshah400 added on 2014-04-02 10:11:47:
Thanks a lot, Jan, for such a quick response. | ||||
Attachments:
- tk-fix-pkgconfig-file.patch [download] added by badshah400 on 2014-03-31 02:55:27. [details]
