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>2016-03-09 18:07:40 +0000
commit10da93022f67f4b47463e0bf1aa809b632e799c7 (patch)
treee8c358ffbe62342c43a62eaa0b095eec6654fc84
parent56776afd51651215a5f96ebf23adaae9164d8e88 (diff)
downloadbluez-10da93022f67f4b47463e0bf1aa809b632e799c7.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 e79b53ba3..ff8c2efdf 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -8,7 +8,7 @@ client_bluetoothctl_SOURCES = client/main.c \
client/gatt.h client/gatt.c \
monitor/uuid.h monitor/uuid.c
client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la @GLIB_LIBS@ @DBUS_LIBS@ \
- -lreadline
+ -lreadline -lncurses
endif
if MONITOR
@@ -350,12 +350,12 @@ attrib_gatttool_SOURCES = attrib/gatttool.c attrib/att.c attrib/gatt.c \
attrib/utils.c src/log.c client/display.c \
client/display.h
attrib_gatttool_LDADD = lib/libbluetooth-internal.la \
- src/libshared-glib.la @GLIB_LIBS@ -lreadline
+ src/libshared-glib.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
@@ -364,12 +364,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
tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \