if [ "$(PREFIX)" = "" ]; then \
ocamlfind install $(PACKAGE) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra; \
else \
- ocamlfind install -destdir $(PREFIX) $(PACKAGE) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra; \
+ ocamlfind install -ldconf $(CURDIR)/foo.ld.conf -destdir $(PREFIX) $(PACKAGE) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra; \
fi
+ -rm -f $(CURDIR)/foo.ld.conf
uninstall:
ocamlfind remove $(PACKAGE)