Commit 625e1547 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Add dynlink to the javascript code.

parent a3dd6eae
......@@ -349,8 +349,8 @@ cduce_js_runtime.js:
CGI=false PXP_WLEX=false STD_LIBDIR=/static/stdlib/ \
cduce_js_runtime
$(HIDE) mv cduce_js_runtime cduce_js_runtime.bytecode
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) \
+nat.js +weak.js +toplevel.js cduce_js_runtime.bytecode
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) $(STDLIB_CMO:%=--file=%) \
+nat.js +weak.js +toplevel.js +dynlink.js cduce_js_runtime.bytecode
cducetop_js_runtime: $(CDUCETOP_JS_RUNTIME)
@echo "Build $@"
......@@ -363,8 +363,8 @@ cducetop_js_runtime.js:
CURL=false NETCLIENT=false NETCLIENT4=false NETSTRING=false \
CGI=false PXP_WLEX=false STD_LIBDIR=/static/stdlib/ \
cducetop_js_runtime
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) \
+nat.js +weak.js +toplevel.js cducetop_js_runtime
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) $(STDLIB_CMO:%=--file=%) \
+nat.js +weak.js +toplevel.js +dynlink.js cducetop_js_runtime
cduceeditor_js_runtime: $(CDUCEEDITOR_JS_RUNTIME)
@echo "Build $@"
......@@ -377,8 +377,8 @@ cduceeditor_js_runtime.js:
CURL=false NETCLIENT=false NETCLIENT4=false NETSTRING=false \
CGI=false PXP_WLEX=false STD_LIBDIR=/static/stdlib/ \
cduceeditor_js_runtime
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) \
+nat.js +weak.js +toplevel.js cduceeditor_js_runtime
$(HIDE) js_of_ocaml --extern-fs -I . $(STDLIB_CDO:%=--file=%) $(STDLIB_CMO:%=--file=%) \
+nat.js +weak.js +toplevel.js +dynlink.js cduceeditor_js_runtime
.PHONY: compute_depend cduce_js_runtime.js compute_deps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment