Re: [OpenWrt-Devel] [PATCH] libpcap: build with cmake

2019-10-18 Thread Yousong Zhou
On Sat, 19 Oct 2019 at 04:15, Rosen Penev wrote: ... > > + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig > > + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpcap.pc > > $(1)/usr/lib/pkgconfig/ > I would check the generated pkgconfig file to see if the file paths > are correct. Example of co

Re: [OpenWrt-Devel] [PATCH] libpcap: build with cmake

2019-10-18 Thread Rosen Penev
On Fri, Oct 18, 2019 at 6:08 AM Yousong Zhou wrote: > > CAN and CAN-USB support related symbols are now handled by general linux > support, see [1] > > InstallDev skips .a file and adds .pc pkgconfig file. > > "-ffunction-sections -fdata-sections" were removed as they not help much > for shared li

Re: [OpenWrt-Devel] [PATCH] libpcap: build with cmake

2019-10-18 Thread Rosen Penev
On Fri, Oct 18, 2019 at 6:08 AM Yousong Zhou wrote: > > CAN and CAN-USB support related symbols are now handled by general linux > support, see [1] > > InstallDev skips .a file and adds .pc pkgconfig file. > > "-ffunction-sections -fdata-sections" were removed as they not help much > for shared li

[OpenWrt-Devel] [PATCH] libpcap: build with cmake

2019-10-18 Thread Yousong Zhou
CAN and CAN-USB support related symbols are now handled by general linux support, see [1] InstallDev skips .a file and adds .pc pkgconfig file. "-ffunction-sections -fdata-sections" were removed as they not help much for shared libraries The change should also fix the issue that current build ca