bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Patch: swap order of CPPFLAGS and INCLUDES


From: Max Horn
Subject: Re: [Bug-readline] Patch: swap order of CPPFLAGS and INCLUDES
Date: Thu, 24 Apr 2014 13:45:21 +0200

Ping?

On 10.04.2014, at 16:00, Max Horn <address@hidden> wrote:

> Hi there,
> 
> for the readline6 package in Fink (a Mac OS X package manager), we are 
> setting CPPFLAGS to point to an alternate system header root (since Fink does 
> not manage the core OS, we do not touch the /usr file hierarchy, but rather 
> use a separate hierarchy, usually under /sw -- so the readline files will be 
> installed into /sw/includes and /sw/lib, etc.)
> 
> However, the readline build system puts CPPFLAGS before its own INCLUDES 
> flags; the latter specify the search dirs . and ..
> 
> As a result, the compiler is told to first look into /sw/includes, and only 
> *then* into "..".  This in turn meant that if there already is an installed 
> version of readline present, then the installed headers get picked up, not 
> the headers in the readline search archive.
> 
> The attached patch therefore swaps the order of CPPFLAGS and INCLUDES.
> 
> 
> Cheers,
> Max
> 
> <0001-Swap-order-of-CPPFLAGS-and-INCLUDES-to-ensure-readli.patch>
> _______________________________________________
> Bug-readline mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-readline

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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