summaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-05 23:38:18 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-05 23:38:18 +0100
commit90e614f7ccb0902e6ddb510bb10f78eb14a13d94 (patch)
treeb9e4d2365e3d387f1aebcee6bf0e32b4f4f1ff12 /src/vty
parentee702cd590688c1e65296319c5bc4c9cf160ba65 (diff)
remove our internal copy of talloc, use system libtalloc
Shipping our own private copy of talloc was a good idea in 2008, when it was not readily available on most target platforms. Today, the situation is quite different, as it is a standard library on major Linux distributions.
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vty/Makefile.am b/src/vty/Makefile.am
index 10d3740e..620a8cb9 100644
--- a/src/vty/Makefile.am
+++ b/src/vty/Makefile.am
@@ -3,13 +3,13 @@
LIBVERSION=3:0:0
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
-AM_CFLAGS = -Wall
+AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
if ENABLE_VTY
lib_LTLIBRARIES = libosmovty.la
libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \
telnet_interface.c logging_vty.c stats_vty.c
-libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined
+libosmovty_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined $(TALLOC_LIBS)
libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la
endif