[Buildroot] [PATCH] c-icap: fix config script by adding $(STAGING_DIR) prefix to link path. It fixes c-icap-modules build.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 22 13:51:17 UTC 2015


Guillaume,

On Wed, 22 Jul 2015 15:30:54 +0200, Guillaume GARDET - Oliséo wrote:

> > What about just:
> >
> > 	$(SED) 's%-L$LIBDIR %%' $(STAGING_DIR)/usr/bin/c-icap-libicapapi-config
> 
> Ok, but $ sign must be escaped with another $:
>          $(SED) 's%-L$$LIBDIR %%' $(STAGING_DIR)/usr/bin/c-icap-libicapapi-config

Ah, yes, indeed. I missed that since I quickly tested the solution in a
shell.

> Do you want a I send a V2 with this solution?

Yes, please!

Thanks a lot!

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



More information about the buildroot mailing list