diff options
author | Damjan Marion <damarion@cisco.com> | 2017-01-08 15:34:50 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2017-01-08 16:50:19 +0100 |
commit | 45a00c44d1dd893474819e88a7d7eed1c7947c4d (patch) | |
tree | cdcef90e5e59cd761caa28a924f5ad6d1459a313 /src/vnet.am | |
parent | f935e336db1282c1ec67cf703db2d3cfaec32915 (diff) |
Multiple Autotools improvements
- Defines some dependencies between shared libraries
- updates version.h only when version changes
Updating version.h on each "make" and "make install" was causing issues with
parallel builds. "make install" was re-linking vpp binary due to "updated"
version.h and in parallel it was re-linking shared libraries as part of
installation process. That was resulting on sporadic build failures.
Change-Id: I2a27ae1aea6a7a4100822018e095a60dd48d39ca
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet.am')
-rw-r--r-- | src/vnet.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vnet.am b/src/vnet.am index 1baa1d25afb..16ade4d1228 100644 --- a/src/vnet.am +++ b/src/vnet.am @@ -14,7 +14,12 @@ libvnet_la_SOURCES = libvnetplugin_la_SOURCES = -libvnet_la_LIBAD = libvppinfra.la libvlib.la libsvm.la +libvnet_la_LIBADD = libvppinfra.la libsvm.la +libvnet_la_DEPENDENCIES = libvppinfra.la libvlib.la libsvmdb.la libsvm.la libvlibapi.la libvlibmemory.la libvlibmemoryclient.la + +if WITH_IPV6SR +libvnet_la_LIBADD += -lcrypto +endif ######################################## # Generic stuff |