Files
xen/stubdom/ocaml.patch
T
Keir Fraser ff7d47a80a stubdom: Rebuild the ocaml runtime libraries with the options needed
if they are to be linked with object files created by ocamlc and the minios
kernel.

This is needed to build stubdoms written in ocaml.

Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
2009-05-19 14:17:56 +01:00

20 lines
497 B
Diff

--- byterun/Makefile.orig 2009-04-07 12:14:02.000000000 +0100
+++ byterun/Makefile 2009-04-07 12:13:50.000000000 +0100
@@ -22,14 +22,14 @@
DOBJS=$(OBJS:.o=.d.o) instrtrace.d.o
PICOBJS=$(OBJS:.o=.pic.o)
-#ifeq ($(SUPPORTS_SHARED_LIBRARIES),true)
+ifeq ($(SUPPORTS_SHARED_LIBRARIES),true)
all:: libcamlrun_shared.so
install::
cp libcamlrun_shared.so $(LIBDIR)/libcamlrun_shared.so
-#endif
+endif
ocamlrun$(EXE): libcamlrun.a prims.o
$(MKEXE) $(BYTECCLINKOPTS) -o ocamlrun$(EXE) \