summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OCamlMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/OCamlMakefile b/OCamlMakefile
index 0d20314..eed3443 100644
--- a/OCamlMakefile
+++ b/OCamlMakefile
@@ -774,7 +774,7 @@ endif
ifndef MSVC
$(DLLSONAME): $(OBJ_LINK)
$(CC) -shared $(CINCFLAGS) $(CLIBFLAGS) \
- -o $@ $(OBJ_LINK) $(CLIBS:%=-l%)
+ -o $@ $(OBJ_LINK) $(shell ocamlc -where)/libcamlidl.a $(CLIBS:%=-l%)
endif
$(RESULT).cma: $(REAL_IMPL_INTF) $(MAKEDLL) $(EXTRADEPS) $(RESULTDEPS)