[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X isysroot and lib dependencies

From: Peter O'Gorman
Subject: Re: Mac OS X isysroot and lib dependencies
Date: Tue, 10 Jul 2007 09:48:04 -0500

On Tue, 2007-07-10 at 11:16 +0300, Heikki Lindholm wrote:
> Hello,
> I'm trying to build a libtoolized project in a Mac OS X SDK using the 
> appropriate -isysroot/-syslibroot flags, but libtool seems to fail when 
> there's a library installed in the SDK, say /home/MySDK/usr/local/lib, 
> with dependencies in the .la file, such as 
> dependency_libs='/usr/local/lib/',
> which only exist in the SDK. The error I get from libtool is:

I don't remember if I fixed this yet. Are you creating your own SDKs?
Apple's SDKs do not contain any .la files.

Anyway, to get it working you will have to edit the generated libtool
script and change lines starting with 'sys_lib_search_path_spec=' so
that the assigned values have the SDK path prepended.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]