]> xenbits.xensource.com Git - people/julieng/xen-unstable.git/commit
tools/ocaml: simplify compile/link of test apps
authorIan Campbell <ian.campbell@citrix.com>
Thu, 3 Dec 2015 11:22:00 +0000 (11:22 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 9 Dec 2015 12:36:53 +0000 (12:36 +0000)
commitb9fc6f36d54b5cbaad57e78e43a6763cbb802608
tree637324ecd804d7d071136bb508a3b86926c74997
parentc6dd439ade5f9c2463fe0ff3adf291dec6fc2172
tools/ocaml: simplify compile/link of test apps

xtl doesn't require the full LDLIBS_libxenctrl, just the -L and
xenlight.cmxa, the latter which contains LDLIBS_libxenctrl as needed.
Fixing this avoids the need to be concerned about LDLIBS_libxenctrl
becoming more than one word in the future.

Since the tests are pure ocaml (no C components) CFLAGS and
LIBS_xenlight are not required.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: David Scott <dave@recoil.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Cc: David Scott <dave@recoil.org>
tools/ocaml/test/Makefile