chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] Don't add LIBDIR to rpath by default


From: Sören Tempel
Subject: Re: [PATCH] Don't add LIBDIR to rpath by default
Date: Sat, 29 Jan 2022 12:08:17 +0100

Peter Bex <peter@more-magic.net> wrote:
> Hi Sören,

Hi Peter,

> > I was wondering if it would be possible to only add additional rpath
> > entries if -deployed is given or non-host-mode is used. The attached
> > git-format-patch(1) implements this. Would it be possible to integrate
> > it upstream?
> 
> Given what I said above, I think simply removing the rpath entirely for
> host-local builds is not the right thing to do, as changing the C flags
> to include -rpath is too onerous and obscure for users to care about.
> 
> Is there a simple way of detecting whether an rpath is the default?

I don't think there is a semi-portable way of doing this, or at least I
am personally not aware of one. However, maybe a Makefile configuration
variable could be introduced specifically for creating CHICKEN Scheme
packages for a distribution (for example as in `make PACKAGING=1
install`)? If $PACKAGING is set it could then be assumed that $(LIBDIR)
and other variables point to directories which are already in the
default search path.

Greetings,
Sören



reply via email to

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