--- dbus-python-1.1.1.orig/_dbus_bindings/Makefile.am 2012-10-23 22:34:35.000000000 +0400 +++ dbus-python-1.1.1/_dbus_bindings/Makefile.am 2012-12-08 09:47:59.233471543 +0400 @@ -5,7 +5,7 @@ -export-symbols-regex \(PyInit__\|init_\)dbus_bindings \ $(NULL) -libadd = $(DBUS_LIBS) +libadd = $(DBUS_LIBS) -lpython$(PYTHON_VERSION) if WINDOWS # Win32 DLLs can't have undefined symbols (so this needs explicit linking --- dbus-python-1.1.1.orig/_dbus_glib_bindings/Makefile.am 2012-10-23 22:34:35.000000000 +0400 +++ dbus-python-1.1.1/_dbus_glib_bindings/Makefile.am 2012-12-08 09:48:33.400828456 +0400 @@ -9,6 +9,7 @@ libadd = \ $(DBUS_LIBS) \ $(DBUS_GLIB_LIBS) \ + -lpython$(PYTHON_VERSION) \ $(NULL) if WINDOWS --- dbus-python-1.1.1.orig/test/Makefile.am 2012-01-11 16:26:09.000000000 +0400 +++ dbus-python-1.1.1/test/Makefile.am 2012-12-08 07:41:09.412701716 +0400 @@ -44,6 +44,7 @@ test_import_repeatedly_SOURCES = import-repeatedly.c test_import_repeatedly_CPPFLAGS = $(PYTHON_INCLUDES) test_import_repeatedly_LDFLAGS = $(PYTHON_LIBS) +test_import_repeatedly_LDADD = -lpython$(PYTHON_VERSION) cross-test-server: $(TESTS_ENVIRONMENT) $(PYTHON) $(top_srcdir)/test/cross-test-server.py