[Buildroot] [PATCH] package/reactcpp: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 7 13:02:00 UTC 2016


Hello,

On Wed, 7 Dec 2016 12:51:24 +0100, Marcin Niestroj wrote:

> > And that's perfectly fine. Just let "make install" install header files
> > and static library. Buildroot will clean them up at the end of the
> > build, in the "target-finalize" step.  
> 
> Ok, I was not aware cleaning header and *.a files in target-finalize.
> 
> I have used 'make install' and checked the target directory before and
> after target-finalize. There was *.a symlink pointing to *.a.1.0.3.
> After target-finalize only the symlink was removed. How should we fix
> that?

Then you can do a POST_INSTALL_TARGET_HOOKS to remove this additional
file.

It is very weird to create a static library file name with a version
number. Normally, static libraries are directly installed as
lib<foo>.a.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list