Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 704 Bytes

File metadata and controls

24 lines (18 loc) · 704 Bytes

Implementing Backends

Installation

Backend implementations must be installed to a specific directory. The location is determined at build time to be <prefix>/lib/wpe-<apiversion>, with <prefix> being the base directory where libwpe is installed, and <apiversion> the public API version.

The pkg-config tool can be used to query the backendsdir variable, which contains the location where backend implementations will be searched for:

pkg-config wpe-1.0 --variable=backendsdir

For example, the following Make snippet will install a backend in the correct location:

install: libMyBackend.so
	install -Dm755 -t "$$(pkg-config wpe-1.0 --variable=backendsdir)" $<