GNOME Bugzilla – Bug 632844
gjs-console: explicitely link against glib
Last modified: 2010-10-25 20:22:55 UTC
Comeback of bug #626672. Had been fixed in 7cbbd0016a3ed5d15f3e794d72d962a4be05c858.
Created attachment 172964 [details] [review] gjs-console: explicitely link against glib Otherwise the build fails. Bug #632844
Review of attachment 172964 [details] [review]: ::: Makefile.am @@ +123,3 @@ gjs_console_LDADD = \ + $(GJS_LIBS) \ + libgjs.la Actually this isn't quite right; I intentionally didn't want to link gjs-console against e.g. mozjs.so. We need to check for glib separately.
Created attachment 173014 [details] [review] console: Only use basic GJS API <gjs/gjs.h> and link against GLib We need to link explicitly against GObject, since we use The commit 25681375970de9 intentionally removed the dependency on all the "internal" GJS libraries like libmozjs.so from gjs-console, but first, we need to explicitly link against libgobject, because we do use it. Secondly, to make things more clear here, drop the random unnecessary use of "internal" GJS API like gjs_debug and gjs_memory_report ( the memory report could be an environment variable).
Can you try this patch?
(In reply to comment #4) > Can you try this patch? Works for me!
Attachment 173014 [details] pushed as c9f30e1 - console: Only use basic GJS API <gjs/gjs.h> and link against GLib