libtool
[Top][All Lists]
Advanced

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

Re: multiple rpath


From: F J Franklin
Subject: Re: multiple rpath
Date: Wed, 7 Nov 2001 13:44:30 +0000 (GMT)

> Why do you want multiple -rpath options? Here's the definition of
> -rpath:
> `-rpath LIBDIR'
>      If OUTPUT-FILE is a library, it will eventually be installed in
>      LIBDIR.  If OUTPUT-FILE is a program, add LIBDIR to the run-time
>      path of the program.

I know. In fact, what I really want to do is even more bizarre, because
it's not an absolute path.

On darwin it's possible to define the install name of the library as a
relative path; further, it can be defined relative to the loading
application, as:

-install_name @executable_path/etc.

What I want to be able to do is:

MyFramework_LTLIBRARIES = libMy.la

libMy_la_LDFLAGS = -rpath @executable_path/../Frameworks/MyFramework

Ignoring for the moment the issue of relative rpaths, which is easy enough
to fix for this special case, we get to my original query: how best to
override automake's specification of rpath...

Of course, the other route is to add a special new command line option for
libtool, but that seems a little extreme.

Regards, Frank

Francis James Franklin
address@hidden

Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
          --- from `The Sayings of Muad'dib' by the Princess Irulan




reply via email to

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