Skip to content

Commit

Permalink
Fix part of the Xen linking problem
Browse files Browse the repository at this point in the history
This patch adds a `xen_link_opts` to the META file for `tcpip` which causes
the `mirage` tool to add

'-L/home/opam/.opam/4.04.2/lib/tcpip/xen' '-ltcpip_xen_stubs'

to any unikernel which uses the `tcpip.xen` package. A separate patch will
be needed to link `tcpip.xen` for Xen targets.

Part of #324

Signed-off-by: David Scott <dave@recoil.org>
  • Loading branch information
djs55 committed Aug 3, 2017
1 parent 30bdb72 commit c13d404
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions META.tcpip.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# JBUILDER_GEN

xen_linkopts = "-L@tcpip/xen -ltcpip_xen_stubs"

0 comments on commit c13d404

Please sign in to comment.