Skip to contentSkip to conversation

configure: apply ${cross_prefix} to pkg-config calls

PATCH In review Helmut Grohne 3 participants 4 messages May 27, 2019 – May 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 configure: apply ${cross_prefix} to pkg-config calls

Otherwise, we're searching for build architecture libraries which is not what we want.

---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
configure +2 -2
index b0052dc1..82bd432e 100755
@@ -1344,14 +1344,14 @@ int main(void)
   return GTK_CHECK_VERSION(2, 18, 0) ? 0 : 1; /* 0 on success */
 }
 EOF
-GTK_CFLAGS=$(pkg-config --cflags gtk+-2.0 gthread-2.0)
+GTK_CFLAGS=$(${cross_prefix}pkg-config --cflags gtk+-2.0 gthread-2.0)
 ORG_LDFLAGS=$LDFLAGS
 LDFLAGS=$(echo $LDFLAGS | sed s/"-static"//g)
 if test "$?" != "0" ; then
   echo "configure: gtk and gthread not found"
   exit 1
 fi
-GTK_LIBS=$(pkg-config --libs gtk+-2.0 gthread-2.0)
+GTK_LIBS=$(${cross_prefix}pkg-config --libs gtk+-2.0 gthread-2.0)
 if test "$?" != "0" ; then
   echo "configure: gtk and gthread not found"
   exit 1
Signature · 1 line
2.20.1
#1 lore raw
Quoted 2 lines · Helmut Grohne

Otherwise, we're searching for build architecture libraries which is not what we want.

Applied 1-2, thanks.

Signature · 1 line
Jens Axboe
#2 lore raw

Hi Jens, hi Helmut,

(unfortunately our signature software seems to add HTML to the mail and vger.kernel.org rejects the mail then… so it won't appear on fio mailing list. This is nothing I can influence from my mail client.)

Jens Axboe - 27.05.19, 22:51:

Quoted 5 lines · Helmut Grohne
Quoted 2 lines

Otherwise, we're searching for build architecture libraries which is not what we want.

Applied 1-2, thanks.

Thanks.

When there is a new fio release I update the package and am ready to apply/merge the Debian related parts of the cross build changes.

Ciao,

Mit freundlichen Grüßen / With kind regards
Martin Steigerwald •
Proact Deutschland GmbH
Trainer
Telefon: +49 911 30999 0 •
Fax: +49 911 30999 99
Südwestpark 43 •
90449 Nürnberg •
Germany
[email protected] •
www.proact.de
Amtsgericht Nürnberg
•
HRB 18320
Geschäftsführer:
Oliver Kügow •
Richard Müller •
Jakob Høholdt
•
Peter Mikael Javestad
– Delivering Business Agility –

#3 lore raw

Your IT department needs a stern talking to... But I'd just use your personal email then, any kind of html email will be a problem on any of the vger hosted lists.

Quoted 34 lines · Martin Steigerwald

Hi Jens, hi Helmut, (unfortunately our signature software seems to add HTML to the mail and vger.kernel.org rejects the mail then… so it won't appear on fio mailing list. This is nothing I can influence from my mail client.) Jens Axboe - 27.05.19, 22:51:
Mit freundlichen Grüßen / With kind regards​

Martin Steigerwald  •
Proact Deutschland GmbH

Trainer

Telefon: *+49 911 30999 0* <tel:+49%20911%2030999%200>  •

	Fax: *+49 911 30999 99* <tel:>

Südwestpark 43  •

	90449 	Nürnberg	 •
	Germany

*[email protected]* <mailto:[email protected]>  •

	*www.proact.de* <https://www.proact.de/>

Amtsgericht Nürnberg

	 •
	HRB 18320

Geschäftsführer:
Oliver Kügow  •
Richard Müller  •
Jakob Høholdt
 •
Peter Mikael Javestad

– Delivering Business Agility –

Proact Wissenstag <https://go.proact.eu/Proact-Wissenstage-Anmeldung>

Quoted 1 line

On 5/27/19 1:32 PM, Helmut Grohne wrote: > > Otherwise, we're searching for build architecture libraries which is > > not what we want. > > Applied 1-2, thanks. Thanks. When there is a new fio release I update the package and am ready to apply/merge the Debian related parts of the cross build changes. Ciao,

Signature · 1 line
Jens Axboe