bugThe FreeType Project - Bugs: bug #22366, Conjoined linker flags breaks...

 
 

bug #22366: Conjoined linker flags breaks tokenizing/dedup'ing them

Submitted by:  Daniel Macks <dmacks>
Submitted on:  Wed 20 Feb 2008 03:31:23 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: suzuki toshiya <mpsuzuki>Open/Closed: Closed
Planned Release: 2.3.6

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 21 Feb 2008 09:31:58 AM UTC, comment #1:

Thank you for comment.

It seems to be reasonable that freetype-config and
freetype2.pc should issue 2 separated linker-passing
options for each required frameworks, instead of merged
single linker-passing option to link all required
frameworks, for the convenience of the option management
by GNU libtool. Within a few hours, your patch will be
applied.

BTW, could you give me an example that a merged option
causes a trouble?

suzuki toshiya <mpsuzuki>
Project AdministratorIn charge of this item.
Wed 20 Feb 2008 03:31:23 AM UTC, original submission:

Using freetype-2.3.5 built on OS X, other libraries are told to use a single "word" of:

(via either freetype-config or pkg-config) to use when linking against freetype. This is really two flag sets (the -framework flag and its one argument, twice). When pkg-config or other parsers grab the flags for several libs, they often try to remove duplicates. Because these two independent -framework flags are together, they are treated as a single opaque item for purposes of deduplicating, so I get things like:

The two separate -framework flags should be passed as two separate words:

in keeping with how atomic they are. The flags are set in builds/unix/configure.raw:

so just change that to:

and we should be in business.

Daniel Macks <dmacks>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mpsuzuki (Posted a comment)
  • -unavailable- added by wl (Updated the item)
  • -unavailable- added by dmacks (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Feb 2008 04:59:07 PM UTCmpsuzukiStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.6
    Wed 20 Feb 2008 05:03:50 AM UTCwlAssigned toNone=>mpsuzuki

    Back to the top


    Powered by Savane 3.1-cleanup1