summaryrefslogtreecommitdiff
path: root/glib-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'glib-config.in')
-rw-r--r--glib-config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/glib-config.in b/glib-config.in
index c36b667d3..de07f5df9 100644
--- a/glib-config.in
+++ b/glib-config.in
@@ -17,6 +17,7 @@ Options:
Libraries:
glib
gmodule
+ gobject
gthread
EOF
exit $1
@@ -70,6 +71,9 @@ while test $# -gt 0; do
gmodule)
lib_gmodule=yes
;;
+ gobject)
+ lib_gobject=yes
+ ;;
gthread)
lib_gthread=yes
;;
@@ -99,6 +103,9 @@ if test "$echo_libs" = "yes"; then
if test "$lib_glib" = "yes"; then
libsp="$libsp -lglib"
fi
+ if test "$lib_gobject" = "yes"; then
+ libsp="-lgobject $libsp"
+ fi
if test "$lib_gthread" = "yes"; then
libsp="-lgthread $libsp"
libsa="$libsa @G_THREAD_LIBS@"