[bug #52942] [xlib] Build failure with LDFLAGS=-Wl,--no-undefined

Yavor Doganov <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/bugs/?52942>

                 Summary: [xlib] Build failure with LDFLAGS=-Wl,--no-undefined
                 Project: GNUstep
            Submitted by: yavor
            Submitted on: Sun 21 Jan 2018 10:51:34 AM EET
                Category: Backend
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The xlib backend uses freetype functions so it has to link with it:


 Linking bundle libgnustep-back-026 ...
./xlib/obj/subproject.o: In function
`_i_GSXftFontInfo__appendBezierPathWithGlyphs_count_toBezierPath_':
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:695: undefined
reference to `FT_Load_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:698: undefined
reference to `FT_Get_Glyph'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:701: undefined
reference to `FT_Glyph_Transform'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:712: undefined
reference to `FT_Outline_Decompose'
/home/yavor/src/gnustep/libs-back/Source/xlib/GSXftFontInfo.m:714: undefined
reference to `FT_Done_Glyph'
collect2: error: ld returned 1 exit status


Straightforward patch attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Jan 2018 10:51:34 AM EET  Name:
0001-Add-FREETYPE_LIBS-to-LIBS-when-building-xlib.patch  Size: 2KiB   By:
yavor

<http://savannah.gnu.org/bugs/download.php?file_id=42997>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52942>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.