Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 17:15:56 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r284898 - in head: . share/mk
Message-ID:  <20150628151556.GB14505@britannica.bec.de>
In-Reply-To: <FC14665C-B3BF-4353-A815-B934347FF092@FreeBSD.org>
References:  <201506272328.t5RNSvQS063168@svn.freebsd.org> <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> <20150628074103.GA68142@ivaldir.etoilebsd.net> <CAGHfRMAW3D8Y69iQefSYQJ=kk1UdZMg3v6Kp-FoWFtLg5BXM3w@mail.gmail.com> <20150628074931.GB68142@ivaldir.etoilebsd.net> <CAGHfRMCy5teyWJ22ZKkNVW=-tXoHdB0Ck%2BsYcrFcm_RY7-e6Og@mail.gmail.com> <20150628085714.GC68142@ivaldir.etoilebsd.net> <FC14665C-B3BF-4353-A815-B934347FF092@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 28, 2015 at 11:48:48AM +0200, Dimitry Andric wrote:
> What is actually the perceived problem with having paths in those linker
> scripts?  If you use --sysroot, the libraries are searched relative to
> that sysroot, right?

Depends. A plain absolute path stays a plain absolute path. One prefixed
with = is adjusted accordingly. E.g. you want to get

SEARCH_DIR("=/usr/lib");

and not "/usr/lib".

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150628151556.GB14505>