[prev in list] [next in list] [prev in thread] [next in thread] 

List:       miros-discuss
Subject:    Mac OS X support: handle frameworks like libraries?
From:       Benny Siegert <bsiegert () gmail ! com>
Date:       2008-08-08 20:05:23
Message-ID: alpine.OSX.1.00.0808082158140.82837 () lem
[Download RAW message or body]

Hi,

while compiling LyX/Mac the other day, I came across a problem in the way 
frameworks are handled. On Mac OS, frameworks are a different way to pack 
a library together with its headers. Framework-related options are put in 
--libs-only-other, while the configure script was only checking for 
--libs-only-l and --libs-only-L. While I agree that this is broken 
behavior, it brings me to my question:

The way I see it, -Fpath (framework search path) is equivalent to -Lpath 
for libraries. Thus, -F should maybe be included in the output of 
"pkg-config --libs-only-L". The same thing goes for the "-framework name" 
linker option, which is more or less the same thing as "-lname", namely 
linking against a certain library/framework. Thus, the -framework option 
(with argument) should be added to the output of --libs-only-l.

Opinions?

--Benny.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic