Skip to content

Commit 8e3507b

Browse files
committed
run.local and run.opt.local are now compatible with OPAM usage.
1 parent 05874ef commit 8e3507b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ doc:
2121
.PHONY: run.local run.opt.local top
2222

2323
run.local: byte
24-
CAML_LD_LIBRARY_PATH=src/server src/server/${PROJECTNAME} -c local/etc/${PROJECTNAME}.conf
24+
CAML_LD_LIBRARY_PATH=src/server:$(CAML_LD_LIBRARY_PATH) src/server/${PROJECTNAME} -c local/etc/${PROJECTNAME}.conf
2525

2626
run.opt.local: opt
27-
CAML_LD_LIBRARY_PATH=src/server src/server/${PROJECTNAME}.opt -c local/etc/${PROJECTNAME}.conf
27+
CAML_LD_LIBRARY_PATH=src/server:$(CAML_LD_LIBRARY_PATH) src/server/${PROJECTNAME}.opt -c local/etc/${PROJECTNAME}.conf
2828

2929
top:
3030
cd src/server && ${MAKE} top

0 commit comments

Comments
 (0)