mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: Michael Olbrich <m.olbrich@pengutronix.de>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] pkg-config-wrapper libdir confusion, ABI dynamic-linker path.
Date: Mon, 3 May 2021 15:43:14 +0200	[thread overview]
Message-ID: <73cafc96-554f-4e33-93ac-79bee71f1101@t2data.com> (raw)
In-Reply-To: <20210425071803.GD27464@pengutronix.de>

> 
>>  system_libpath=( "${libdir[@]/%//../../lib}" "${libdir[@]/%//../lib}"
> 
> Hmmm, we should fix that too, but that's mostly cosmetic: pkg-config skips
> these paths when adding '-L' options. And some extra shouldn't hurt.
> 
> Michael

Hmm. I could not leave this out. Apparently some packages use this and
would resolve libraries on my host as -L/usr/lib64/whatever. Which would
contain other libraries (x86 compilation) and fail to link.

> 
>> "/usr/lib" "/lib" )
>>  system_incpath=( "${libdir[@]/%//../../include}"
>> "${libdir[@]/%//../include}" "/usr/include" "/include" )
> 


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-05-03 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 19:59 Christian Melki
2021-04-23  7:39 ` Michael Olbrich
2021-04-23  8:17   ` Christian Melki
2021-04-24 17:02   ` Christian Melki
2021-04-25  7:18     ` Michael Olbrich
2021-05-03 13:43       ` Christian Melki [this message]
2021-05-07  7:15         ` [ptxdist] [PATCH] pkg-config-wrapper: calculate the system paths dynamically as well Michael Olbrich
2021-05-07 11:14           ` Christian Melki
2021-05-07 12:14             ` Michael Olbrich

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=73cafc96-554f-4e33-93ac-79bee71f1101@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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