[Buildroot] [PATCH] divine: fix divine-config
gustavo at zacarias.com.ar
Fri Jan 4 15:00:59 UTC 2013
On 01/04/2013 11:56 AM, Stefan Fröberg wrote:
> So should I continue patching correct buildroot prefixes to all those
> *-config files that
> are in $(STAGING_DIR)/usr/bin or not ?
> From my $(STAGING_DIR)/usr/bin/*-config files only libpng and libxml2
> and few others
> do the right thing and give the buildroot prefix and not the host system
> (It took a long time for me to figure why wireshark that im trying to
> compile here did not
> work out with libpcap, untill I found out that the
> $(STAGING_DIR)/usr/bin/pcap-config spit a
> wrong prefix all the time...)
That's because libpng & libxml2 are doing what your patches do, fixing
up the *-config files.
What Samuel said (correct me if i'm wrong) is the developers meeting
kind of agreed on just dropping the *-config files in favour of
pkgconfig-based (*.pc) solutions, and patch wherever necessary.
What i say is let's fix the dreaded *-config files but in a generic way,
just declaring the relevant files to be fixed as the original mail i
replied to you said until we can properly move to a pkgconfig-only
solution, which i think won't be fast or easy.
More information about the buildroot