[dpdk-dev] [PATCH 1/2] mk: prevent overlinking in applications

2016-06-09 Thread Ferruh Yigit
On 6/9/2016 11:10 AM, Thomas Monjalon wrote: > Hi Ferruh, > > 2016-05-27 17:48, Ferruh Yigit: >> Replace --no-as-needed linker flag with --as-needed flag, which will >> only link libraries directly called by application. This requires inter >> library dependencies resolved correctly. >> >> Not lin

[dpdk-dev] [PATCH 1/2] mk: prevent overlinking in applications

2016-06-09 Thread Thomas Monjalon
Hi Ferruh, 2016-05-27 17:48, Ferruh Yigit: > Replace --no-as-needed linker flag with --as-needed flag, which will > only link libraries directly called by application. This requires inter > library dependencies resolved correctly. > > Not linking all libraries cause a compile error for lpcap and

[dpdk-dev] [PATCH 1/2] mk: prevent overlinking in applications

2016-05-27 Thread Ferruh Yigit
Replace --no-as-needed linker flag with --as-needed flag, which will only link libraries directly called by application. This requires inter library dependencies resolved correctly. Not linking all libraries cause a compile error for lpcap and possible to have other similar compiler errors, so inc