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

Yousong Zhou yszhou4tech at gmail.com
Fri Oct 18 23:12:15 EDT 2019


On Sat, 19 Oct 2019 at 04:15, Rosen Penev <rosenp at gmail.com> 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 correct:

It's made from template applied with configure results
(https://github.com/the-tcpdump-group/libpcap/blob/master/libpcap.pc.in).
Yes, it should be correct.

Thanks for the review.

                yousong

>
> prefix=/usr
> exec_prefix=/usr
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>
> Example of incorrect:
>
> prefix=/usr
> exec_prefix=/usr
> libdir=/usr/lib
> includedir=/usr/include
> >  endef
> >

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list