From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 19 May 2010 13:30:32 +0200 Subject: [Buildroot] [PATCH 3/8] libcap: fix build failure In-Reply-To: <87aarz0xye.fsf@macbook.be.48ers.dk> References: <87aarz0xye.fsf@macbook.be.48ers.dk> Message-ID: <20100519133032.2b69d01b@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Mon, 17 May 2010 09:49:45 +0200 Peter Korsgaard wrote: > 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 ? Not sure what you mean here. The problem was that the libcap build system was installing things in $(STAGING_DIR)/lib64 because it was thinking I was building for a 64 bits system (but only my host was 64 bits, not my target). Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com