libndr: Avoid assigning duplicate versions to symbols master
authorAmitay Isaacs <amitay@gmail.com>
Tue, 20 Oct 2020 06:27:14 +0000 (17:27 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 20 Oct 2020 06:27:14 +0000 (17:27 +1100)
commit6176587cb798ffbed565132f1e9e4a4e03b06c08
tree7d8b28425d775252cbc15167d2a5c575a6b69acd
parent930695b04d2c3984c4e335ff25471b2432885884
libndr: Avoid assigning duplicate versions to symbols

Symbols _ndr_push_error and _ndr_pull_error keep getting redefined as
they are included without wildcard in abi_match.  Apparently on linux ld
does not complain about duplicate symbols, but on freebsd ld fails to
link with following error:

  [ 918/3912] Linking bin/default/librpc/libndr.so
  ld: error: duplicate symbol '_ndr_pull_error' in version script
  ld: error: duplicate symbol '_ndr_push_error' in version script
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
librpc/wscript_build