summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-03-31 16:29:37 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-03-31 16:36:36 +0000
commit4eabfd4c730b13e22be970ceedb932a44c33f3e3 (patch)
tree41e4f6c66709f3a9aff59268f6b14a363f347daa
parentd34eb00529deaabc58965664d5e4871beb2859b6 (diff)
downloadbluez-4eabfd4c730b13e22be970ceedb932a44c33f3e3.tar.gz
Add option -lncurses to avoid problems building
-rw-r--r--Makefile.tools10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.tools b/Makefile.tools
index a5491ac8e..4d9406683 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -7,7 +7,7 @@ client_bluetoothctl_SOURCES = client/main.c \
client/agent.h client/agent.c \
monitor/uuid.h monitor/uuid.c
client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \
- -lreadline
+ -lreadline -lncurses
endif
if MONITOR
@@ -349,12 +349,12 @@ attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
attrib/gatttool.h attrib/interactive.c \
attrib/utils.c src/log.c client/display.c \
client/display.h
-attrib_gatttool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lreadline
+attrib_gatttool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@ -lreadline -lncurses
tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \
tools/obex-client-tool.c
tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \
- @GLIB_LIBS@ -lreadline
+ @GLIB_LIBS@ -lreadline -lncurses
tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
tools/obex-server-tool.c
@@ -363,12 +363,12 @@ tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la @GLIB_LIBS@
tools_bluetooth_player_SOURCES = tools/bluetooth-player.c \
client/display.h client/display.c
tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
- @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
+ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses
tools_obexctl_SOURCES = tools/obexctl.c \
client/display.h client/display.c
tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
- @GLIB_LIBS@ @DBUS_LIBS@ -lreadline
+ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline -lncurses
endif
if EXPERIMENTAL