diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-07-04 12:15:16 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-07-05 11:53:00 +0100 |
commit | ec2671485a23090c470180eb297e67b86638d9b5 (patch) | |
tree | 1646179bf028cf01523b89f90c5274652497355b | |
parent | 9c02d05642c8f99e3fe61804bcc33df380ebd5b1 (diff) | |
download | dbus-python-ec2671485a23090c470180eb297e67b86638d9b5.tar.gz |
Replace incorrect AM_LDFLAGS usage with a proper AM_LDFLAGS/LIBADD split
-rw-r--r-- | _dbus_bindings/Makefile.am | 6 | ||||
-rw-r--r-- | _dbus_glib_bindings/Makefile.am | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/_dbus_bindings/Makefile.am b/_dbus_bindings/Makefile.am index 2a5ec28..e0fb889 100644 --- a/_dbus_bindings/Makefile.am +++ b/_dbus_bindings/Makefile.am @@ -3,7 +3,11 @@ pyexec_LTLIBRARIES = _dbus_bindings.la AM_CPPFLAGS = -I$(top_srcdir)/include $(DBUS_CFLAGS) $(PYTHON_INCLUDES) AM_LDFLAGS = -module -avoid-version \ -export-symbols-regex \(PyInit__\|init_\)dbus_bindings \ - $(DBUS_LIBS) + $(NULL) + +libadd = $(DBUS_LIBS) + +_dbus_bindings_la_LIBADD = $(libadd) _dbus_bindings_la_SOURCES = \ abstract.c \ bus.c \ diff --git a/_dbus_glib_bindings/Makefile.am b/_dbus_glib_bindings/Makefile.am index 2e10426..48af169 100644 --- a/_dbus_glib_bindings/Makefile.am +++ b/_dbus_glib_bindings/Makefile.am @@ -4,6 +4,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(DBUS_CFLAGS) $(DBUS_GLIB_CFLAGS) \ $(PYTHON_INCLUDES) AM_LDFLAGS = -module -avoid-version \ -export-symbols-regex \(PyInit__\|init_\)dbus_glib_bindings \ - $(DBUS_LIBS) $(DBUS_GLIB_LIBS) + $(NULL) +libadd = \ + $(DBUS_LIBS) \ + $(DBUS_GLIB_LIBS) \ + $(NULL) + +_dbus_glib_bindings_la_LIBADD = $(libadd) _dbus_glib_bindings_la_SOURCES = module.c |