Tcl Source Code

View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: fed5069f8a8e59e97af0a784b534919f5b789b1e
Title: NetBSD: support LDFLAGS
Type: Bug Version: 8.6.6
Submitter: wiz Created on: 2017-07-16 09:05:37
Subsystem: 81. Bundled Packages Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-07-16 09:05:37
Resolution: None Closed By: nobody
    Closed on:
When building tcl on NetBSD, LDFLAGS are not passed to the included pkgs.
The fix is easy: add ${LDFLAGS_DEFAULT} to SHLIB_LD= in the NetBSD case in the pkgs/*/configure files.

Looking at the files, this will also affect other operating systems (except Linux, where SHLIB_LD already includes LDFLAGS_DEFAULT).