Bug 2173

Summary: configure fails to find libedit in non-standard location
Product: Portable OpenSSH Reporter: Serge van den Boom <serge+bugzilla.mindrot.org>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P5    
Version: 6.4p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2130    
Attachments:
Description Flags
Patch to have configure include '-L' linking parameters for libedit. none

Description Serge van den Boom 2013-11-22 10:25:39 AEDT
Created attachment 2376 [details]
Patch to have configure include '-L' linking parameters for libedit.

Note: this bug is for version 6.4p1, which is not listed in the version choices in Bugzilla.

When building OpenSSH with a libedit which is not located in a standard location, 'configure --with-libedit' fails to pick it up.

The reason is that it uses 'pkg-config --libs-only-l libedit', instead of 'pkg-config --libs libedit', which causes the '-L/path/to/libedit' to be omitted.

A patch is attached.
Comment 1 Darren Tucker 2013-11-23 05:01:24 AEDT
add to the to-do list for 6.5p1

(In reply to Serge van den Boom from comment #0)
> Note: this bug is for version 6.4p1, which is not listed in the
> version choices in Bugzilla.

fixed.

thanks.
Comment 2 Darren Tucker 2013-12-05 11:01:22 AEDT
patch applied, thanks.  it will be in 6.5p1.
Comment 3 Damien Miller 2015-08-11 23:04:05 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1