invalid token @CARBON_LIBS@ in glib-2.0.pc
Bug #1330033 reported by
Steve Langasek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glib2.0 (Ubuntu) |
Fix Released
|
Undecided
|
Iain Lane |
Bug Description
In libglib2.0-dev 2.41.0-1, glib-2.0.pc contains an unexpanded token in Libs.private:
Name: GLib
Description: C Utility Library
Version: 2.41.0
Requires.private: libpcre
Libs: -L${libdir} -lglib-2.0
Libs.private: -pthread -lpcre @CARBON_LIBS@
Cflags: -I${includedir}
This makes it impossible to statically link against glib2.0 in utopic, though it doesn't cause problems for dynamic linking.
I ran into this problem while doing a test build of qemu. I'm not entirely sure why Libs.private was used, given that qemu dynamically links against glib2.0, but it's definitely still a bug in glib2.0.
To post a comment you must log in.
https:/ /git.gnome. org/browse/ glib/commit/ ?id=9f69534030f 963183ac5398889 630a641a71409b
Will upload to experimental & sync.