After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325836 - libcroco fails to link with --as-needed
libcroco fails to link with --as-needed
Status: RESOLVED DUPLICATE of bug 148790
Product: libcroco
Classification: Core
Component: General
0.6
Other All
: Normal normal
: ---
Assigned To: libcroco maintainers
libcroco maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-05 08:41 UTC by Diego Elio Pettenò
Modified: 2006-05-01 17:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libcroco-0.6.0-asneeded.patch (395 bytes, patch)
2006-01-05 08:41 UTC, Diego Elio Pettenò
none Details | Review

Description Diego Elio Pettenò 2006-01-05 08:41:17 UTC
Please describe the problem:
Currently libcroco fails to build if you're using the --as-needed linker flag, 
because libcroco itself does not link against libxml2 and rather waits for the 
final executable to link against it (that's a very positive thinking). 
The attached patch adds the link to libxml2 directly during creation of 
libcroco.so, thus allowing to complete the final build of the package when 
using --as-needed. 

Steps to reproduce:
 

Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Diego Elio Pettenò 2006-01-05 08:41:47 UTC
Created attachment 56803 [details] [review]
libcroco-0.6.0-asneeded.patch
Comment 2 Dominic Lachowicz 2006-05-01 17:34:22 UTC
Thanks. This is a duplicate of bug 148790.

*** This bug has been marked as a duplicate of 148790 ***