Ticket UUID: | 5bcb5026ad51abb778ac6bb5b8781e17649ea72 | |||
Title: | Undefined autotools token @TK_LIBS@ in pkgconfig file | |||
Type: | Bug | Version: | 8.6.1 | |
Submitter: | badshah400 | Created on: | 2014-03-31 02:51:33 | |
Subsystem: | 53. Configuration and Build Tools | Assigned To: | jan.nijtmans | |
Priority: | 5 Medium | Severity: | Important | |
Status: | Closed | Last Modified: | 2014-04-02 10:11:47 | |
Resolution: | Fixed | Closed By: | badshah400 | |
Closed on: | 2014-04-02 10:11:47 | |||
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: |
badshah400 added on 2014-04-02 10:11:47:
Thanks a lot, Jan, for such a quick response. jan.nijtmans added on 2014-04-01 08:44:47: Fixed in dad7e44466 (core-8-5-branch) and 541c37eaea (trunk) |
Attachments:
- tk-fix-pkgconfig-file.patch [download] added by badshah400 on 2014-03-31 02:55:27. [details]