On Sat, 19 Oct 2019 at 04:15, Rosen Penev <ros...@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@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to