Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 9dce729798e4ef2937db17a3499f6434fdf4c577
Ticket: 5bcb5026ad51abb778ac6bb5b8781e17649ea72f
Undefined autotools token @TK_LIBS@ in pkgconfig file
User & Date: badshah400 2014-03-31 02:51:33
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    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
    
  5. foundin changed to: "8.6.1"
  6. is_private changed to: "0"
  7. login: "badshah400"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "11563e8a941479bef68fc97732ecac8b2b55943f"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "badshah400"
  14. subsystem changed to: "53. Configuration and Build Tools"
  15. title changed to:
    Undefined autotools token @TK_LIBS@ in pkgconfig file
    
  16. type changed to: "Bug"