[Buildroot] [PATCH 3/8] libcap: fix build failure

Peter Korsgaard jacmet at uclibc.org
Wed May 19 11:50:30 UTC 2010


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> On a x86-64 host, libcap tried to install things in
 Thomas> $(STAGING_DIR)/lib64 and $(TARGET_DIR)/lib64. Therefore, pass lib= and
 Thomas> prefix=, as required by the strange build system used by libcap.
 >> 
 >> Wouldn't that be /USR/lib64 -> /USR/lib ?

 Thomas> Not sure what you mean here. The problem was that the libcap
 Thomas> build system was installing things in $(STAGING_DIR)/lib64
 Thomas> because it was thinking I was building for a 64 bits system
 Thomas> (but only my host was 64 bits, not my target).

Yes, but it should presumably install into /usr/lib rather than /lib(64)
(that's atleast where it's installed on my Debian machine).

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list