vty: Link osmovty to osmocore as it is using the symbols
authorHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 10 Sep 2010 19:58:37 +0000 (03:58 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Fri, 10 Sep 2010 19:58:37 +0000 (03:58 +0800)
Use SUBDIRS to build src first and the src/vty. We will need
to find the right way add the dependencies.

src/Makefile.am
src/vty/Makefile.am

index 765fbb8..1e97bb9 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS=vty
+SUBDIRS=vty
 
 # This is _NOT_ the library release version, it's an API version.
 # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
index f2859cf..7353ab8 100644 (file)
@@ -10,4 +10,5 @@ lib_LTLIBRARIES = libosmovty.la
 
 libosmovty_la_SOURCES = buffer.c command.c vty.c vector.c utils.c \
                        telnet_interface.c logging_vty.c
+libosmovty_la_LIBADD = $(top_builddir)/src/libosmocore.la
 endif