GNU bug report logs - #16384
libtool fails with uninstalled frameworks and the -F flag

Previous Next

Package: libtool;

Reported by: "Michael C. Grant" <mcg <at> cvxr.com>

Date: Tue, 7 Jan 2014 16:48:03 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Michael C. Grant" <mcg <at> cvxr.com>
To: "bug-libtool <at> gnu.org" <bug-libtool <at> gnu.org>
Subject: libtool fails with uninstalled frameworks and the -F flag
Date: Tue, 7 Jan 2014 16:40:27 +0000
[Message part 1 (text/plain, inline)]
I'm trying to compile GNU Octave and its new Qt GUI on a Mac OSX with Homebrew. Homebrew installs the Qt frameworks in /usr/local/Cellar/qt/4.8.5/lib, so after some fiddling with the configure script I get this:

QT_LDFLAGS=-F/usr/local/Cellar/qt/4.8.5/lib
QT_LIBS=-framework QtCore -framework QtGui -framework QtNetwork

However, the libtool script does not handle the -F argument through properly, so it is stripped out of the linking process.

I created the following patch for the generated libtool script, which causes libtool to treat -F exactly like it treats -L. This seems to do the trick.

I did notice that scanning through past discussions that this has come up a couple of times, but there is reluctance to provide ful support for -F for some reason. Perhaps the relative simplicity of this patch would convince you to reconsider. If not, we can certainly entertain applying this patch in Homebrew itself.

Regards,
Michael

[libtool.diff (application/octet-stream, attachment)]

This bug report was last modified 11 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.