sd-bus.h not found even with DEPENDS += "systemd"

Bel Hadj Salem Talel <bhstalel@...>

Hi Community,

I'm trying to make a recipe for source files with a Makefile , files are under :

I can't add the recipe directly from the URL, so I cloned the repo and zipped only the sink_service file.

When I added the zip file with devtool it added DEPEND = "systemd" in the recipe file. But when compiling :
fatal error: systemd/sd-bus.h: No such file or directory
The Makefile just needs "make" and it worked on my native host. Here is the recipe:
LICENSE = "Unknown"
LIC_FILES_CHKSUM = "file://c-mesh-api/LICENSE;md5=b8b4f77337154d1f64ebe68dcd93fab6"
SRC_URI = "file:///media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-sink-tool/files/"
DEPENDS = "systemd"
do_configure () {
# Specify any needed configure commands here

do_compile () {
# You will almost certainly need to add additional arguments here

do_install () {
# NOTE: unable to determine what to put here - there is a Makefile but no
# target named "install", so you will need to define this yourself

The only problem is in do_compile , I need to fix it and then I can manage the install part.
How can I specify the libsystemd in BUILD time , do I need EXTRA_OEMAKE ?

Thanks, Talel

Join { to automatically receive all group messages.