[Buildroot] Adding build-time dependency on virtual package

Baruch Siach baruch at tkos.co.il
Tue Sep 17 05:40:45 UTC 2019


Hi Mark,

On Mon, Sep 16, 2019 at 05:52:04PM -0500, Mark Hawthorne wrote:
> I am building a package which requires an implementation of libegl. The EGL
> library is specified as a virtual package. How do I add EGL as a build time
> dependency without specify the package which implements the virtual package?
> 
> For example, right now my package dependency variable looks like this:
> MY_PKG_DEPENDENCIES = ti-sgx-um
> 
> ...where ti-sgx-um provides the EGL library. However, this locks this
> package into a specific GPU library.

Just add libegl to your _DEPENDENCIES. See efl, kodi, libwpe, and more.

The manual doesn't mention that in section 17.11.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list