Libyang github master build

Build: #116 was successful Changes by Michal Vasko <mvasko@cesnet.cz>

Build result summary

Details

Completed
Duration
48 minutes
Labels
None
Revision
651bf21184e3a4f851fe2d145d4e916180ff08e9 651bf21184e3a4f851fe2d145d4e916180ff08e9
Successful since
#111 ()

Code commits

Author Commit Message Commit date
Michal Vasko <mvasko@cesnet.cz> Michal Vasko <mvasko@cesnet.cz> 651bf21184e3a4f851fe2d145d4e916180ff08e9 651bf21184e3a4f851fe2d145d4e916180ff08e9 VERSION bump to version 1.0.7
Michal Vasko <mvasko@cesnet.cz> Michal Vasko <mvasko@cesnet.cz> c1d7ab0a43771001f73bb42b96e813cf2b5bf1ec c1d7ab0a43771001f73bb42b96e813cf2b5bf1ec Merge pull request #757 from 6WIND/static
extensions BUGFIX fix link error when ENABLE_STATIC=ON
Robin Jarry <robin.jarry@6wind.com> Robin Jarry <robin.jarry@6wind.com> 21924e9796b3f759f454ae4187e5bbc934feef9c m 21924e9796b3f759f454ae4187e5bbc934feef9c extensions BUGFIX fix link error when ENABLE_STATIC=ON
Fix the following error when ENABLE_STATIC is "ON".

 [100%] Linking C executable yanglint
 libmetadata.a(metadata.c.o):(.data+0xa8): multiple definition of `lyext_api_version'
 libnacm.a(nacm.c.o):(.data+0x0): first defined here
 libyangdata.a(yangdata.c.o):(.data+0x60): multiple definition of `lyext_api_version'
 libnacm.a(nacm.c.o):(.data+0x0): first defined here
 libuser_inet_types.a(user_inet_types.c.o):(.data+0x0): multiple definition of `lytype_api_version'
 libuser_yang_types.a(user_yang_types.c.o):(.data+0x0): first defined here

Since we are linking all extensions statically in the same binary, we
must not have duplicate public symbols. When building with ENABLE_STATIC
dynamic plugins loading is disabled anyway, we do not need version
check.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>