Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8a99ba0993b4911724168ebae53a071c0f5ff5f882dbd9882fd8f856633fcc2
Ticket: d4147321e11a6bf08a5647db5fd5c17bac2264f7
Wrong stub lib name on OpenBSD
User & Date: stu on 2023-04-18 15:35:44
Changes

  1. icomment:
    Title changed; only stub lib affected.
    I can't find when this change happened. There's no mention in any commit messages.
    The file with the problem is unix/configure.ac.
    The change happened somewhere between these two commits: 40538213cde55fe4 and 7fe2ab82ec6c3ca8, so sometime between 2021-05-03 and 2023-01-24.
    
    Here is a diff snippet from 8.6.13 to 9.0.0 showing the changes that are causing this problem.
    
    Notice the comment wasn't changed to match the code. Sloppy.
    
    
     # Replace ${VERSION} with contents of ${TCL_VERSION}
     # double-eval to account for TCL_TRIM_DOTS.
     #
    -eval "TCL_STUB_LIB_FILE=libtclstub${TCL_UNSHARED_LIB_SUFFIX}"
    +eval "TCL_STUB_LIB_FILE=libtclstub.a"
     eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
     eval "TCL_STUB_LIB_DIR=\"${libdir}\""
     
    -if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    -    TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}"
    -else
    -    TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`"
    -fi
    +TCL_STUB_LIB_FLAG="-ltclstub"
    
  2. login: "stu"
  3. mimetype: "text/plain"
  4. title changed to: "Wrong stub lib name on OpenBSD"