On Tue, 11 Mar 2008, Bill Janssen wrote:
Even though 'man ld' on Mac OS X mentions -rpath, I've never been able to
get it to work. -install_name is better anyway but distutils probably
doesn't know about it at all.
Or maybe "-F", which seems to be the official way of doing it on OS X:
ld maintains a list of directories to search for a library or
framework to use. ... The default framework search path is
/Library/Frameworks then /System/Library/Frameworks. The -F option
will a new framework search path.
"framework" is their name for dylib.
Nononono, framework is yet another thing.
A framework is to a lib what a .app is to a plain executable. Some fancy,
versioned, deep hierarchy, with some well-known OS search locations which
can be augmented via -F. We use -F in Chandler when shipping our own Python
framework.
Anyway, on Mac, this is moot as libjcc.dylib contains the information via
-install_name. This causes the right path to be added to the linking bundle.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev