Permalink
Browse files

geanypy: Add missing linking against gmodule

  • Loading branch information...
1 parent 8f68b9d commit d1e9203fd5b0eb7c14bc537b7a918555bb9ba91e @b4n b4n committed Apr 20, 2014
Showing with 4 additions and 2 deletions.
  1. +1 −0 build/geanypy.m4
  2. +3 −2 geanypy/src/Makefile.am
View
@@ -3,6 +3,7 @@ AC_DEFUN([GP_CHECK_GEANYPY],
GP_ARG_DISABLE([Geanypy], [auto])
GP_CHECK_PLUGIN_GTK2_ONLY([Geanypy])
GP_CHECK_PLUGIN_DEPS([Geanypy], [PYGTK], [pygtk-2.0])
+ GP_CHECK_PLUGIN_DEPS([Geanypy], [GMODULE], [gmodule-2.0])
dnl FIXME: Checks for Python below should gracefully disable the plugin
dnl if they don't succeed and enable_geanypy is set to `auto`.
dnl However, since these macros don't seem to gracefully handle
View
@@ -8,9 +8,10 @@ geanypy_la_CPPFLAGS = @GEANY_CFLAGS@ @PYGTK_CFLAGS@ @PYTHON_CPPFLAGS@ \
-DGEANYPY_PYTHON_DIR="\"$(libdir)/geany/geanypy\"" \
-DGEANYPY_PLUGIN_DIR="\"$(datadir)/geany/geanypy/plugins\"" \
-UHAVE_CONFIG_H
-geanypy_la_CFLAGS = @GEANYPY_CFLAGS@
+geanypy_la_CFLAGS = @GEANYPY_CFLAGS@ @GMODULE_CFLAGS@
geanypy_la_LIBADD = @GEANY_LIBS@ @PYGTK_LIBS@ @PYTHON_LDFLAGS@ \
- @PYTHON_EXTRA_LIBS@ @PYTHON_EXTRA_LDFLAGS@
+ @PYTHON_EXTRA_LIBS@ @PYTHON_EXTRA_LDFLAGS@ \
+ @GMODULE_LIBS@
geanypy_la_SOURCES = geanypy-app.c \
geanypy-dialogs.c \
geanypy-document.c geanypy-document.h \

0 comments on commit d1e9203

Please sign in to comment.