Skip to content
Snippets Groups Projects
Commit 014a0c7f authored by Guido Günther's avatar Guido Günther
Browse files

Add a build test

to verify that the we can link against libvirt
parent 416ca188
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/make -f
CFLAGS=$(shell pkg-config --cflags libvirt)
LIBS=$(shell pkg-config --libs libvirt)
a.out: ../../examples/dominfo/info1.c
gcc $(CFLAGS) $< $(LIBS)
@echo "Build test of $< succeeded"
@rm -f a.out
Tests: smoke
build-test
Depends: @
Restrictions: allow-stderr
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment