configure and --prefix

Peter S. Mazinger ps.m at gmx.net
Mon Dec 12 09:59:19 UTC 2005


On Mon, 12 Dec 2005, Dely Nicolas wrote:

> Hi,
> 
> With configure scripts, I would like to know which is better between the
> two following?
> 
> 1) --prefix=/usr 
>    make DESTDIR=$(STAGING_DIR) -C <PACKAGE_DIR> install
> 
> or 
> 
> 2) --prefix=$(STAGING_DIR)/usr
>    make -C <PACKAGE_DIR> install
> 
> I saw the first one in gentoo ebuild and has been replaced in buildroot
> by the second one.
> 
> With the second one I got many problems with DirectFB and hard path
> using prefix. So I think the first is better, don't you?
> 
> Regards,
> 
> Nicolas

Read the thread Proper use of libtool ....

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list