Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: libtool: stop put /usr/lib{32,64} into RPATH
Date: Sat, 20 Feb 2021 13:17:10 +0100	[thread overview]
Message-ID: <20210220121710.HdiK1fYZbiEwv00sT-b3fIoq8agFAkZdWpOcqiWCF8w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28919@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/28919#issuecomment-782619454

Comment:
Adding:
```sh
lt_cv_sys_lib_dlsearch_path_spec="/usr/lib64 /usr/lib32 /usr/lib /lib /usr/local/lib"
```
into common-linux wouldn't work, because that file will be sourced in cross-compilation only.

Even if we source it in native, it wouldn't work because `./configure` may be run in `do_build` (`libtool` package does that).

I think there are 2 possible solutions:
- export from `common/xbps-src/libexec/build.sh`
- Put `/usr/lib32` into `/etc/ld.so.conf.d/*` unconditionally, add `/usr/lib64` for 64 bit system, add `/etc/ld.so.conf` into `base-files` for `musl` (to avoid rebuilding cross compiler).

  parent reply	other threads:[~2021-02-20 12:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 10:25 [PR PATCH] " sgn
2021-02-20 10:26 ` [PR PATCH] [Updated] " sgn
2021-02-20 11:48 ` sgn
2021-02-20 11:51 ` sgn
2021-02-20 12:17 ` sgn [this message]
2021-02-20 12:20 ` [PR PATCH] [Updated] " sgn
2021-02-20 14:02 ` ericonr
2021-02-21  0:44 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210220121710.HdiK1fYZbiEwv00sT-b3fIoq8agFAkZdWpOcqiWCF8w@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).