--- geany-plugins-1.32/geanypy/src/Makefile.am.orig	2018-01-28 09:38:24.107352400 +0100
+++ geany-plugins-1.32/geanypy/src/Makefile.am	2018-01-28 09:39:31.374199900 +0100
@@ -4,7 +4,7 @@
 geanyplugin_LTLIBRARIES		=	geanypy.la
 geanyplugindir				=	$(libdir)/geany
 
-geanypy_la_LDFLAGS			=	-module -avoid-version -Wl,--export-dynamic
+geanypy_la_LDFLAGS			=	-module -avoid-version -no-undefined -Wl,--export-dynamic
 geanypy_la_CPPFLAGS			=	@PYTHON_CPPFLAGS@ \
 								-DGEANYPY_PYTHON_DIR="\"$(libdir)/geany/geanypy\"" \
 								-DGEANYPY_PLUGIN_DIR="\"$(libdir)/geany\"" \
