Changeset 5d8457d for configure.in


Ignore:
Timestamp:
09/07/14 22:46:26 (6 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
51d1f64
Parents:
e5dedd5
Message:

Support DPDK 1.7 - Fixes #11
Turns out we were on the right track with this, using --whole-archive, however libtool likes to reorder commands it recognises. So a -Wl was also needed before the library include.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    ra7c8f4a r5d8457d  
    386386        AC_SUBST([RTE_SDK])
    387387        # Force dpdk library to be statically linked to allow compiler optimisations
    388         LIBTRACE_LIBS="$LIBTRACE_LIBS -l:libintel_dpdk.a"
     388        LIBTRACE_LIBS="$LIBTRACE_LIBS -Wl,--whole-archive -Wl,-l:libintel_dpdk.a -Wl,--no-whole-archive"
    389389                AC_DEFINE(HAVE_DPDK,1,[conditional for building with DPDK live capture support])
    390390                libtrace_dpdk=true
Note: See TracChangeset for help on using the changeset viewer.