The toolkit-dependent UI library, well, depends on the toolkit. Make it

so.

svn path=/trunk/; revision=43329
This commit is contained in:
Guy Harris 2012-06-18 06:38:44 +00:00
parent c92fced5b8
commit 5c423a4c51
2 changed files with 5 additions and 3 deletions

View File

@ -322,8 +322,7 @@ endif
# @GTK_LIBS@ (as those are also needed for X applications, and GTK+
# applications are X applications).
wireshark_LDADD = \
ui/gtk/libgtkui.a \
ui/gtk/libgtkui_dirty.a \
@UI_LIBS@ \
ui/libui.a \
codecs/libcodec.a \
wiretap/libwiretap.la \
@ -342,7 +341,7 @@ wireshark_LDADD = \
@LIBGNUTLS_LIBS@ \
@LIBSMI_LDFLAGS@ \
@PORTAUDIO_LIBS@ \
@GTK_LIBS@ -lm
-lm
wireshark_CFLAGS = $(AM_CLEAN_CFLAGS) $(py_dissectors_dir)

View File

@ -889,6 +889,7 @@ if test "$have_gtk" = "no" ; then
wireshark_bin="wireshark\$(EXEEXT)"
wireshark_man="wireshark.1"
wireshark_SUBDIRS="codecs ui/qt"
UI_LIBS="ui/qt/libqtui.a $Qt_LIBS"
else
#
# We don't have Qt, either, which means we have no UI
@ -940,7 +941,9 @@ else
# (Versions prior to 2.22 lacked some necessary accessors.)
CPPFLAGS="-DGSEAL_ENABLE $CPPFLAGS"
fi
UI_LIBS="ui/gtk/libgtkui.a ui/gtk/libgtkui_dirty.a $GTK_LIBS"
fi
AC_SUBST(UI_LIBS)
# Error out if a glib header other than a "top level" header
# (glib.h, glib-object.h, gio.h) or certain other headers( e.g.,gmodule.h)