diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-15 11:32:29 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-07-29 11:06:41 +0100 |
commit | c368b36901b3b37e6208a48dbcae641a6bef51f6 (patch) | |
tree | 76f64898550ba7818b2838246c67a8ed920f5a7f /bus/Makefile.am | |
parent | f8c131047cf3af5a001119bcf2f3697994fd17d2 (diff) | |
download | dbus-c368b36901b3b37e6208a48dbcae641a6bef51f6.tar.gz |
Simplify linking by moving -export-dynamic to AM_LDFLAGS
Diffstat (limited to 'bus/Makefile.am')
-rw-r--r-- | bus/Makefile.am | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/bus/Makefile.am b/bus/Makefile.am index bfe4cb01..9ec12890 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -6,6 +6,9 @@ INCLUDES = -I$(top_srcdir) \ -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\" \ -DDBUS_COMPILATION +# if assertions are enabled, improve backtraces +AM_LDFLAGS = @R_DYNAMIC_LDFLAG@ + EFENCE= CONFIG_IN_FILES= \ @@ -91,8 +94,6 @@ dbus_daemon_LDADD= \ $(EFENCE) \ $(DBUS_BUS_LIBS) -dbus_daemon_LDFLAGS=@R_DYNAMIC_LDFLAG@ - LAUNCH_HELPER_SOURCES= \ $(XML_SOURCES) \ config-parser-common.c \ @@ -117,8 +118,6 @@ dbus_daemon_launch_helper_LDADD= \ $(top_builddir)/dbus/libdbus-internal.la \ $(DBUS_LAUNCHER_LIBS) -dbus_daemon_launch_helper_LDFLAGS=@R_DYNAMIC_LDFLAG@ - ## we build another binary so we can do the launch testing without root privs. ## DO NOT INSTALL THIS FILE dbus_daemon_launch_helper_test_SOURCES= \ @@ -129,7 +128,6 @@ dbus_daemon_launch_helper_test_LDADD= \ $(top_builddir)/dbus/libdbus-internal.la \ $(DBUS_LAUNCHER_LIBS) -dbus_daemon_launch_helper_test_LDFLAGS=@R_DYNAMIC_LDFLAG@ dbus_daemon_launch_helper_test_CPPFLAGS= -DDBUS_STATIC_BUILD \ -DACTIVATION_LAUNCHER_TEST @@ -143,7 +141,6 @@ bus_test_launch_helper_LDADD= \ $(top_builddir)/dbus/libdbus-internal.la \ $(DBUS_LAUNCHER_LIBS) -bus_test_launch_helper_LDFLAGS=@R_DYNAMIC_LDFLAG@ bus_test_launch_helper_CPPFLAGS= -DDBUS_STATIC_BUILD \ -DACTIVATION_LAUNCHER_TEST \ -DACTIVATION_LAUNCHER_DO_OOM @@ -187,7 +184,6 @@ bus_test_system_SOURCES= \ bus_test_system_CPPFLAGS = -DDBUS_STATIC_BUILD bus_test_system_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_BUS_LIBS) -bus_test_system_LDFLAGS=@R_DYNAMIC_LDFLAG@ bus_test_SOURCES= \ $(BUS_SOURCES) \ @@ -195,7 +191,6 @@ bus_test_SOURCES= \ bus_test_CPPFLAGS = -DDBUS_STATIC_BUILD bus_test_LDADD=$(top_builddir)/dbus/libdbus-internal.la $(DBUS_BUS_LIBS) -bus_test_LDFLAGS=@R_DYNAMIC_LDFLAG@ ## mop up the gcov files clean-local: |