]> git.proxmox.com Git - mirror_frr.git/commit
build: reorder libraries to address linker error
authorAvneesh Sachdev <avneesh@opensourcerouting.org>
Thu, 4 Oct 2012 16:21:34 +0000 (16:21 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 2 Nov 2012 06:03:24 +0000 (23:03 -0700)
commitd1d3ac9bad0caf7a9c465bb382b924009f0d9168
treeee76b87f2b3b18ac109bf8b4268bfa5251ac3b34
parentb07458a055493dd37cb955ae90f11ae8bc334d3a
build: reorder libraries to address linker error

The linker on some systems (for example, Ubuntu 12.04 LTS x86_64)
appears to be sensitive to the order in which libraries are
specified. On these systems, if a library 'A' depends on a library
'B', it has to be specified before 'B' when linking an executable.

  * zebra/Makefile.am: Make sure LIBCAP comes after libzebra.

  * tests/Makefile.am: Ensure libm comes after libbgp.

Signed-off-by: Avneesh Sachdev <avneesh@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
tests/Makefile.am
zebra/Makefile.am