Skip to content

configure.ac: add gmodule-2.0 to libgnome-panel dependencies

Dmitry Shachnev requested to merge mitya57/gnome-panel:master into master

Without this change, I get the following build failure with 3.28.0 tarball:

libtool: link: gcc -shared  -fPIC -DPIC  .libs/fish_la-fish-applet.o .libs/fish_la-fish-module.o .libs/fish_la-fish-resources.o  -Wl,--whole-archive ../../libgnome-panel/.libs/libgnome-panel.a -Wl,--no-whole-archive  -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lfribidi -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo  -pthread -pthread -g -O2 -fstack-protector-strong -Wl,--no-as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -Wl,--as-needed   -pthread -Wl,-soname -Wl,fish.so -o .libs/fish.so
../../libgnome-panel/.libs/libgnome-panel.a(libgnome_panel_la-gp-module.o): In function `gp_module_finalize':
./libgnome-panel/gp-module.c:291: undefined reference to `g_module_close'
../../libgnome-panel/.libs/libgnome-panel.a(libgnome_panel_la-gp-module.o): In function `gp_module_new_from_path':
./libgnome-panel/gp-module.c:342: undefined reference to `g_module_open'
./libgnome-panel/gp-module.c:353: undefined reference to `g_module_symbol'
./libgnome-panel/gp-module.c:355: undefined reference to `g_module_error'
./libgnome-panel/gp-module.c:346: undefined reference to `g_module_error'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:565: fish.la] Error 1

Merge request reports