summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitjackolantern <scottjconover@yahoo.com>2015-08-31 17:45:02 -0700
committergitjackolantern <scottjconover@yahoo.com>2015-08-31 17:45:02 -0700
commit21245fe4c6160a088e2bf72e2179a25319e79611 (patch)
tree4618128e6fa6b5cf8b4753c328453c2d0e4af675
parentaead674b06db629905a9848e5c1f3efd69e53c44 (diff)
parent355f6af4f59690900445bed586905c5b3a86c364 (diff)
downloadbluez-tools-21245fe4c6160a088e2bf72e2179a25319e79611.tar.gz
Merge pull request #5 from tdaitx/master
Fix AM_LDFLAGS misuse, use LDADD instead
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 60e224d..cd7d261 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS)
-AM_LDFLAGS = $(GLIB_LIBS) $(GIO_LIBS)
+LDADD = $(GLIB_LIBS) $(GIO_LIBS)
bluez_sources = lib/bluez/adapter.c lib/bluez/adapter.h \
lib/bluez/agent_manager.c lib/bluez/agent_manager.h \
@@ -50,6 +50,6 @@ bt_agent_SOURCES = $(lib_sources) $(bluez_sources) bt-agent.c
bt_device_SOURCES = $(lib_sources) $(bluez_sources) bt-device.c
bt_network_SOURCES = $(lib_sources) $(bluez_sources) bt-network.c
bt_obex_SOURCES = $(lib_sources) $(bluez_sources) bt-obex.c
-bt_obex_LDADD = $(LIBREADLINE)
+bt_obex_LDADD = $(LDADD) $(LIBREADLINE)
dist_man_MANS = bt-adapter.1 bt-agent.1 bt-device.1 bt-network.1 bt-obex.1