[Buildroot] Bug report in pkg-autotools.mk

Yvan Roch yvan.roch at gmail.com
Wed Dec 19 11:32:43 UTC 2012


Hi all,

In the pkg-autotools.mk file, line 238 (BR2012.11) or
Makefile.autotools.in line 250 (BR2012.02), there is the following
command:

$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \

This command corrects the bad path for libraries installed in the
staging directory in the libtool .la files.

But, if Buildroot resides in a directory that contains /usr (for
example /usr/local/src/buildroot-2012.11), $(STAGING_DIR) contains
/usr and this command is not idempotent.
Each time an autotools package is built, the paths in .la files are
longer and false.

Regards,

Yvan Roch.


More information about the buildroot mailing list